OSSP CVS Repository

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

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

--- uuid.c       2004/01/06 20:43:34     1.2
+++ uuid.c       2004/01/08 21:31:47     1.3
@@ -29,6 +29,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
 #include <string.h>
 #include <unistd.h>
 
@@ -127,11 +128,15 @@
     return UUID_RC_OK;
 }
 
-uuid_rc_t uuid_generate(uuid_t *uuid)
+uuid_rc_t uuid_generate(uuid_t *uuid, unsigned int mode, ...)
 {
+    va_list ap;
+
     if (uuid == NULL)
         return UUID_RC_ARG;
+    va_start(ap, mode);
     /* FIXME */
+    va_end(ap);
     return UUID_RC_OK;
 }
 
@@ -241,6 +246,14 @@
         return UUID_RC_ARG;
     /* FIXME */
     return UUID_RC_OK;
+}
+
+uuid_rc_t uuid_dump(uuid_t *uuid, char **str)
+{
+    if (uuid == NULL || str == NULL)
+        return UUID_RC_ARG;
+    /* FIXME */
+    return UUID_RC_OK;
 }
 
 char *uuid_error(uuid_rc_t rc)

CVSTrac 2.0.1