Index: ossp-pkg/uuid/uuid.h.in RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.h.in,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.h.in,v' 2>/dev/null --- 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); Index: ossp-pkg/uuid/uuid.pod RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v rcsdiff -q -kk '-r1.28' '-r1.29' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v' 2>/dev/null --- 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. -=item uuid_rc_t B(uuid_t *I, uuid_t **I); +=item uuid_rc_t B(const uuid_t *I, uuid_t **I); Clone UUID object I and store new UUID object in I. -=item uuid_rc_t B(uuid_t *I, int *I); +=item uuid_rc_t B(const uuid_t *I, int *I); Checks whether the UUID in I is the I UUID. If this is the case, it returns I in C<*>I. Else it returns I in C<*>I. -=item uuid_rc_t B(uuid_t *I, uuid_t *I, int *I); +=item uuid_rc_t B(const uuid_t *I, const uuid_t *I, int *I); Compares the order of the two UUIDs in I and I and returns the result in C<*>I: C<-1> if I is @@ -273,7 +273,7 @@ minimum expected length in I depends on it. Valid values for I are B and B. -=item uuid_rc_t B(uuid_t *I, uuid_fmt_t I, void **I, size_t *I); +=item uuid_rc_t B(const uuid_t *I, uuid_fmt_t I, void **I, size_t *I); Exports a UUID I into an external representation of format I. The data is written to the buffer at C<*>I which has to