Index: ossp-pkg/uuid/TODO RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/TODO,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/TODO,v' 2>/dev/null --- TODO 2004/01/11 07:38:35 1.5 +++ TODO 2004/01/11 18:26:56 1.6 @@ -1,4 +1,3 @@ -- write documentation uuid(3) [uuid.pod] - more platform support in uuid_mac.c?! - implement uuid -d (uuid_dump): dumping/decoding - global locking according to standard? Index: ossp-pkg/uuid/uuid.pod RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v' 2>/dev/null --- uuid.pod 2004/01/11 12:14:19 1.5 +++ uuid.pod 2004/01/11 18:26:56 1.6 @@ -232,7 +232,27 @@ =item uuid_rc_t B(uuid_t *I, unsigned int I, ...); -FIXME +Generates a new UUID in I according to I and optional +arguments (dependent on I). + +If I contains the C bit, a DCE 1.1 variant UUID of +version 1 is generated. Then optionally the bit C forces +the use of random multi-cast MAC address instead of the real physical +MAC address (the default). The UUID is generated out of the 60-bit current +system time, a 12-bit clock sequence and the 48-bit MAC address. + +If I contains the C bit, a DCE 1.1 variant UUID +of version 3 is generated and two additional C-terminated string +arguments of type "C" are expected: first a namespace, +given as an internally pre-defined id (currently known are ids "C", +"C", "C", and "C") or a UUID in string representation. +Second, a name string of arbitrary length. The UUID is generated out of +the 128-bit MD5 from the concatenated octet stream of namespace UUID and name +string. + +If I contains the C bit, a DCE 1.1 variant UUID +of version 4 is generated. The UUID is generated out of 128-bit random +data. =item uuid_rc_t B(uuid_t *I, char **I); @@ -240,7 +260,8 @@ =item char *B(uuid_rc_t I); -FIXME +Returns a constangt string representation corresponding to the +return-code I for use in displaying B errors. =back @@ -297,5 +318,19 @@ FreeBSD manual pages uuid(3) and uuidgen(2), http://www.freebsd.org/cgi/man.cgi?query=uuid&manpath=FreeBSD+5.2-RELEASE +=back + +=head1 HISTORY + +B was implemented in January 2004 by Ralf S. Engelschall +Erse@engelschall.comE. It was prompted by the use of UUIDs +in the B and B projects. It is a clean room +implementation intended to be strictly standards compliant and maximum +portable. + +=head1 SEE ALSO + +uuid(1), uuid-config(1). + =cut