aboutsummaryrefslogtreecommitdiffstats
path: root/include/uuid.h
Commit message (Collapse)AuthorAgeFilesLines
* include: General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326192
* Add missing prototypes for uuid_enc,dec_le,be() functions.Maksim Yevmenkin2008-09-151-0/+4
| | | | | | | | | Pointy hat goes to me. MFC after: 3 days Notes: svn path=/head/; revision=183057
* Constify arguments.Marcel Moolenaar2005-01-031-6/+6
| | | | Notes: svn path=/head/; revision=139601
* Wrap function prototype declarations in __BEGIN_DECLS to do the right thingJuli Mallett2002-11-051-0/+2
| | | | | | | | | with them in non-C cases. Requested by: Patrick Hartling <patrick@137.org> Notes: svn path=/head/; revision=106452
* Implement DCE 1.1 compliant UUID functions. Immediate use of theseMarcel Moolenaar2002-10-301-0/+57
functions is expected for uuidgen(1), mca(8) and gpt(8). Given the generic use of UUIDs beyond the scope of the DCE 1.1 specification, visibility of the data structure at all levels of the machine, including firmware and the wish to not create a permanent build- time FreeBSD-ism for DCE compliant applications by creating a new library, it was decided that libc would be the least inappropriate place. Also, because the UUID functions live in libc under IRIX as well, we have maximized our portability and left as many options open as possible. This implementation introduces an extension not found in the specification: the status parameter is allowed to be a NULL- pointer. The reason for introducing the extension is because the status is almost never of any use. The manpage that's part of this commit is a minimal place-holder and is further fleshed-out in the near future. Approved by: re@ Contributed by: Hiten Mahesh Pandya <hiten@unixdaemons.com> Sponsored by: marcel :-) Tested on: alpha, i386, ia64 Notes: svn path=/head/; revision=106184