From owner-cvs-all Tue Oct 29 19:52:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2656137B401; Tue, 29 Oct 2002 19:52:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EA543E42; Tue, 29 Oct 2002 19:52:13 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9U3p1mV091194; Tue, 29 Oct 2002 19:51:01 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9U3p1wA091193; Tue, 29 Oct 2002 19:51:01 -0800 (PST) Message-Id: <200210300351.g9U3p1wA091193@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 29 Oct 2002 19:51:01 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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