UUID Handling


Data Structures

struct  apr_uuid_t

Defines

#define APR_UUID_FORMATTED_LENGTH   36

Functions

void apr_uuid_get (apr_uuid_t *uuid)
void apr_uuid_format (char *buffer, const apr_uuid_t *uuid)
apr_status_t apr_uuid_parse (apr_uuid_t *uuid, const char *uuid_str)

Define Documentation

#define APR_UUID_FORMATTED_LENGTH   36

UUIDs are formatted as: 00112233-4455-6677-8899-AABBCCDDEEFF


Function Documentation

void apr_uuid_format ( char *  buffer,
const apr_uuid_t uuid 
)

Format a UUID into a string, following the standard format

Parameters:
buffer The buffer to place the formatted UUID string into. It must be at least APR_UUID_FORMATTED_LENGTH + 1 bytes long to hold the formatted UUID and a null terminator
uuid The UUID to format

void apr_uuid_get ( apr_uuid_t uuid  ) 

Generate and return a (new) UUID

Parameters:
uuid The resulting UUID

apr_status_t apr_uuid_parse ( apr_uuid_t uuid,
const char *  uuid_str 
)

Parse a standard-format string into a UUID

Parameters:
uuid The resulting UUID
uuid_str The formatted UUID


Generated on Tue Sep 11 08:13:14 2007 for Apache Portable Runtime Utility Library by  doxygen 1.5.2