diff options
author | marcel <marcel@FreeBSD.org> | 2002-10-30 03:51:00 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-10-30 03:51:00 +0000 |
commit | 98982ac1d8b41f9cee7765accea88219e6018f51 (patch) | |
tree | f93dc692222edf5d685727e403b959a157f7199f /lib/libc/uuid/Makefile.inc | |
parent | b69127088e572cff3be1c8a25f0d39ef75ae4f5e (diff) | |
download | FreeBSD-src-98982ac1d8b41f9cee7765accea88219e6018f51.zip FreeBSD-src-98982ac1d8b41f9cee7765accea88219e6018f51.tar.gz |
Implement DCE 1.1 compliant UUID functions. Immediate use of these
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
Diffstat (limited to 'lib/libc/uuid/Makefile.inc')
-rw-r--r-- | lib/libc/uuid/Makefile.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libc/uuid/Makefile.inc b/lib/libc/uuid/Makefile.inc new file mode 100644 index 0000000..51b2ce0 --- /dev/null +++ b/lib/libc/uuid/Makefile.inc @@ -0,0 +1,22 @@ +# $FreeBSD$ + +# DCE 1.1 UUID implementation sources + +.PATH: ${.CURDIR}/../libc/uuid + +SRCS+= uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \ + uuid_from_string.c uuid_hash.c uuid_is_nil.c uuid_to_string.c + +INCS+= uuid.h + +.if ${LIB} == "c" +MAN+= uuid.3 +MLINKS+=uuid.3 uuid_compare.3 +MLINKS+=uuid.3 uuid_create.3 +MLINKS+=uuid.3 uuid_create_nil.3 +MLINKS+=uuid.3 uuid_equal.3 +MLINKS+=uuid.3 uuid_from_string.3 +MLINKS+=uuid.3 uuid_hash.3 +MLINKS+=uuid.3 uuid_is_nil.3 +MLINKS+=uuid.3 uuid_to_string.3 +.endif |