OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid.h versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid.h 1.2 -> 1.3

--- uuid.h       2004/01/06 20:29:51     1.2
+++ uuid.h       2004/01/08 21:31:47     1.3
@@ -79,6 +79,14 @@
     UUID_RC_SYS = 3
 } uuid_rc_t;
 
+/* generation mode flags */
+enum {
+    UUID_VERSION1      = (1 << 0),
+    UUID_VERSION3      = (1 << 1),
+    UUID_VERSION4      = (1 << 2),
+    UUID_MCASTRND      = (1 << 3)
+};
+
 /* abstract data type */
 struct uuid_st;
 typedef struct uuid_st uuid_t;
@@ -93,7 +101,7 @@
 extern uuid_rc_t  uuid_isnull   (uuid_t  *uuid,                int *result);
 
 /* UUID generation */
-extern uuid_rc_t  uuid_generate (uuid_t  *uuid);
+extern uuid_rc_t  uuid_generate (uuid_t  *uuid, unsigned int mode, ...);
 
 /* string representation handling */
 extern uuid_rc_t  uuid_parse    (uuid_t  *uuid, const char  *str);
@@ -103,6 +111,9 @@
 extern uuid_rc_t  uuid_read     (uuid_t  *uuid, const void  *buf);
 extern uuid_rc_t  uuid_write    (uuid_t  *uuid,       void **buf);
 
+/* UUID dumping */
+extern uuid_rc_t  uuid_dump     (uuid_t  *uuid, char **str);
+
 /* error handling */
 extern char      *uuid_error    (uuid_rc_t rc);
 

CVSTrac 2.0.1