Date: Tue, 29 Oct 2002 19:51:01 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc Makefile.inc src/lib/libc/uuid Makefile.inc uuid.3 uuid.h 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 Message-ID: <200210300351.g9U3p1wA091193@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/10/29 19:51:01 PST Modified files: lib/libc Makefile.inc Added files: lib/libc/uuid Makefile.inc uuid.3 uuid.h 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 Log: 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 Revision Changes Path 1.9 +1 -0 src/lib/libc/Makefile.inc 1.1 +22 -0 src/lib/libc/uuid/Makefile.inc (new) 1.1 +98 -0 src/lib/libc/uuid/uuid.3 (new) 1.1 +57 -0 src/lib/libc/uuid/uuid.h (new) 1.1 +76 -0 src/lib/libc/uuid/uuid_compare.c (new) 1.1 +46 -0 src/lib/libc/uuid/uuid_create.c (new) 1.1 +47 -0 src/lib/libc/uuid/uuid_create_nil.c (new) 1.1 +56 -0 src/lib/libc/uuid/uuid_equal.c (new) 1.1 +93 -0 src/lib/libc/uuid/uuid_from_string.c (new) 1.1 +50 -0 src/lib/libc/uuid/uuid_hash.c (new) 1.1 +55 -0 src/lib/libc/uuid/uuid_is_nil.c (new) 1.1 +68 -0 src/lib/libc/uuid/uuid_to_string.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210300351.g9U3p1wA091193>