Adaptive Framework
0.9.0
|
Files | |
file | afw_uuid.h |
Adaptive Framework UUID header. | |
Typedefs | |
typedef apr_uuid_t | afw_uuid_t |
Functions | |
void | afw_uuid_generate (afw_uuid_t *uuid, afw_xctx_t *xctx) |
Generate a new UUID. More... | |
const afw_uuid_t * | afw_uuid_create (const afw_pool_t *p, afw_xctx_t *xctx) |
Create a UUID. More... | |
const afw_value_t * | afw_uuid_create_string (const afw_pool_t *p, afw_xctx_t *xctx) |
Create a UUID as a standard format UUID utf-8 string value. More... | |
const afw_utf8_t * | afw_uuid_create_utf8 (const afw_pool_t *p, afw_xctx_t *xctx) |
Create a UUID as a standard format UUID utf-8 string. More... | |
const afw_utf8_t * | afw_uuid_to_utf8 (const afw_uuid_t *uuid, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert uuid to a standard format UUID utf-8 string. More... | |
void | afw_uuid_parse (afw_uuid_t *uuid, const afw_utf8_t *s, afw_xctx_t *xctx) |
Parse a standard format UUID string to a uuid. More... | |
const afw_uuid_t * | afw_uuid_from_utf8 (const afw_utf8_t *s, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert standard format UUID utf-8 string to uuid. More... | |
UUID functions
const afw_uuid_t* afw_uuid_create | ( | const afw_pool_t * | p, |
afw_xctx_t * | xctx | ||
) |
Create a UUID.
xctx | of caller. |
p | Pool for result. |
Definition at line 30 of file afw_uuid.c.
const afw_value_t* afw_uuid_create_string | ( | const afw_pool_t * | p, |
afw_xctx_t * | xctx | ||
) |
Create a UUID as a standard format UUID utf-8 string value.
xctx | of caller. |
p | Pool for result. |
Definition at line 43 of file afw_uuid.c.
const afw_utf8_t* afw_uuid_create_utf8 | ( | const afw_pool_t * | p, |
afw_xctx_t * | xctx | ||
) |
Create a UUID as a standard format UUID utf-8 string.
xctx | of caller. |
p | Pool for result. |
Definition at line 62 of file afw_uuid.c.
const afw_uuid_t* afw_uuid_from_utf8 | ( | const afw_utf8_t * | s, |
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
Convert standard format UUID utf-8 string to uuid.
s | standard format UUID utf-8 string. |
p | Pool for result. |
xctx | of caller. |
Definition at line 117 of file afw_uuid.c.
void afw_uuid_generate | ( | afw_uuid_t * | uuid, |
afw_xctx_t * | xctx | ||
) |
Generate a new UUID.
uuid | Place to put generated UUID. |
xctx | of caller. |
Definition at line 21 of file afw_uuid.c.
void afw_uuid_parse | ( | afw_uuid_t * | uuid, |
const afw_utf8_t * | s, | ||
afw_xctx_t * | xctx | ||
) |
Parse a standard format UUID string to a uuid.
uuid | Place to put parsed UUID. |
s | standard format UUID utf-8 string to parse. |
xctx | of caller. |
Definition at line 95 of file afw_uuid.c.
const afw_utf8_t* afw_uuid_to_utf8 | ( | const afw_uuid_t * | uuid, |
const afw_pool_t * | p, | ||
afw_xctx_t * | xctx | ||
) |
Convert uuid to a standard format UUID utf-8 string.
uuid | |
p | Pool for result. |
xctx | of caller. |
Definition at line 79 of file afw_uuid.c.