OSSP CVS Repository

ossp - Check-in [5142]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5142
Date: 2005-Aug-31 21:20:43 (local)
2005-Aug-31 19:20:43 (UTC)
User:rse
Branch:
Comment: Add missing "const" in manual page and cleanup formatting in header file.
Tickets:
Inspections:
Files:
ossp-pkg/uuid/uuid.h.in      1.8 -> 1.9     9 inserted, 9 deleted
ossp-pkg/uuid/uuid.pod      1.28 -> 1.29     4 inserted, 4 deleted

ossp-pkg/uuid/uuid.h.in 1.8 -> 1.9

--- uuid.h.in    2005/08/31 14:28:28     1.8
+++ uuid.h.in    2005/08/31 19:20:43     1.9
@@ -82,21 +82,21 @@
 typedef struct uuid_st uuid_t;
 
 /* UUID object handling */
-extern uuid_rc_t     uuid_create   (uuid_t **_uuid);
-extern uuid_rc_t     uuid_destroy  (uuid_t  *_uuid);
-extern uuid_rc_t     uuid_clone    (uuid_t  *_uuid, uuid_t **_uuid_clone);
+extern uuid_rc_t     uuid_create   (      uuid_t **_uuid);
+extern uuid_rc_t     uuid_destroy  (      uuid_t  *_uuid);
+extern uuid_rc_t     uuid_clone    (const uuid_t  *_uuid, uuid_t **_clone);
 
 /* UUID generation */
-extern uuid_rc_t     uuid_load     (uuid_t  *_uuid, const char *_name);
-extern uuid_rc_t     uuid_make     (uuid_t  *_uuid, unsigned int _mode, ...);
+extern uuid_rc_t     uuid_load     (      uuid_t  *_uuid, const char *_name);
+extern uuid_rc_t     uuid_make     (      uuid_t  *_uuid, unsigned int _mode, ...);
 
 /* UUID comparison */
-extern uuid_rc_t     uuid_isnil    (const uuid_t *_uuid,                       int *_result);
-extern uuid_rc_t     uuid_compare  (const uuid_t *_uuid, const uuid_t *_uuid2, int *_result);
+extern uuid_rc_t     uuid_isnil    (const uuid_t  *_uuid,                       int *_result);
+extern uuid_rc_t     uuid_compare  (const uuid_t  *_uuid, const uuid_t *_uuid2, int *_result);
 
 /* UUID import/export */
-extern uuid_rc_t     uuid_import   (uuid_t       *_uuid, uuid_fmt_t _fmt, const void  *_data_ptr, size_t  _data_len);
-extern uuid_rc_t     uuid_export   (const uuid_t *_uuid, uuid_fmt_t _fmt,       void **_data_ptr, size_t *_data_len);
+extern uuid_rc_t     uuid_import   (      uuid_t  *_uuid, uuid_fmt_t _fmt, const void  *_data_ptr, size_t  _data_len);
+extern uuid_rc_t     uuid_export   (const uuid_t  *_uuid, uuid_fmt_t _fmt,       void **_data_ptr, size_t *_data_len);
 
 /* library utilities */
 extern char         *uuid_error    (uuid_rc_t _rc);


ossp-pkg/uuid/uuid.pod 1.28 -> 1.29

--- uuid.pod     2005/08/31 14:29:56     1.28
+++ uuid.pod     2005/08/31 19:20:43     1.29
@@ -246,17 +246,17 @@
 
 Destroy UUID object I<uuid>.
 
-=item uuid_rc_t B<uuid_clone>(uuid_t *I<uuid>, uuid_t **I<uuid_clone>);
+=item uuid_rc_t B<uuid_clone>(const uuid_t *I<uuid>, uuid_t **I<uuid_clone>);
 
 Clone UUID object I<uuid> and store new UUID object in I<uuid_clone>.
 
-=item uuid_rc_t B<uuid_isnil>(uuid_t *I<uuid>, int *I<result>);
+=item uuid_rc_t B<uuid_isnil>(const uuid_t *I<uuid>, int *I<result>);
 
 Checks whether the UUID in I<uuid> is the I<Nil> UUID.
 If this is the case, it returns I<true> in C<*>I<result>.
 Else it returns I<false> in C<*>I<result>.
 
-=item uuid_rc_t B<uuid_compare>(uuid_t *I<uuid>, uuid_t *I<uuid2>, int *I<result>);
+=item uuid_rc_t B<uuid_compare>(const uuid_t *I<uuid>, const uuid_t *I<uuid2>, int *I<result>);
 
 Compares the order of the two UUIDs in I<uuid1> and I<uuid2>
 and returns the result in C<*>I<result>: C<-1> if I<uuid1> is
@@ -273,7 +273,7 @@
 minimum expected length in I<data_len> depends on it. Valid values for
 I<fmt> are B<UUID_FMT_BIN> and B<UUID_FMT_STR>.
 
-=item uuid_rc_t B<uuid_export>(uuid_t *I<uuid>, uuid_fmt_t I<fmt>, void **I<data_ptr>, size_t *I<data_len>);
+=item uuid_rc_t B<uuid_export>(const uuid_t *I<uuid>, uuid_fmt_t I<fmt>, void **I<data_ptr>, size_t *I<data_len>);
 
 Exports a UUID I<uuid> into an external representation of format I<fmt>.
 The data is written to the buffer at C<*>I<data_ptr> which has to

CVSTrac 2.0.1