Apache Portable Runtime Utility Library
|
Data Structures | |
struct | apr_uuid_t |
Macros | |
#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 APR_UUID_FORMATTED_LENGTH 36 |
UUIDs are formatted as: 00112233-4455-6677-8899-AABBCCDDEEFF
void apr_uuid_format | ( | char * | buffer, |
const apr_uuid_t * | uuid | ||
) |
Format a UUID into a string, following the standard format
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
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
uuid | The resulting UUID |
uuid_str | The formatted UUID |