23 #ifndef _ASTERISK_UUID_H 24 #define _ASTERISK_UUID_H 27 #define AST_UUID_STR_LEN (36 + 1)
struct ast_uuid * ast_uuid_copy(struct ast_uuid *src)
Make a copy of a UUID.
int ast_uuid_is_nil(struct ast_uuid *uuid)
Check if a UUID is a nil UUID (all 0s)
void ast_uuid_clear(struct ast_uuid *uuid)
Clear a UUID by setting it to be a nil UUID (all 0s)
struct ast_uuid * ast_str_to_uuid(char *str)
Convert a string to a UUID.
void ast_uuid_init(void)
Initialize the UUID system.
struct ast_uuid * ast_uuid_generate(void)
Generate a UUID.
char * ast_uuid_generate_str(char *buf, size_t size)
Generate a UUID string.
int ast_uuid_compare(struct ast_uuid *left, struct ast_uuid *right)
Compare two UUIDs.
char * ast_uuid_to_str(struct ast_uuid *uuid, char *buf, size_t size)
Convert a UUID to a string.