10 #define __AFW_UUID_H__
32 typedef apr_uuid_t afw_uuid_t;
94 const afw_uuid_t *uuid,
#define AFW_BEGIN_DECLARES
#define AFW_DECLARE(type)
Declare a public afw function.
Adaptive Framework Minimal Header.
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.
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.
const afw_uuid_t * afw_uuid_create(const afw_pool_t *p, afw_xctx_t *xctx)
Create a UUID.
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.
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.
void afw_uuid_generate(afw_uuid_t *uuid, afw_xctx_t *xctx)
Generate a new UUID.
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.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_value public struct.
Interface afw_xctx public struct.