44 info->category =
"/main/uuid/";
45 info->summary =
"UUID unit test";
47 "This tests basic UUID operations to ensure they work properly";
Asterisk main include file. File version handling, generic pbx functions.
static int uuid(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)
Asterisk module definitions.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
#define ASTERISK_GPL_KEY
The text the key() function should return.
@ AST_MODULE_LOAD_SUCCESS
#define AST_TEST_REGISTER(cb)
#define ast_test_status_update(a, b, c...)
#define AST_TEST_UNREGISTER(cb)
static int load_module(void)
static int unload_module(void)
Universally unique identifier support.
int ast_uuid_compare(struct ast_uuid *left, struct ast_uuid *right)
Compare two UUIDs.
struct ast_uuid * ast_uuid_generate(void)
Generate a UUID.
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.
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)
char * ast_uuid_generate_str(char *buf, size_t size)
Generate a UUID string.
char * ast_uuid_to_str(struct ast_uuid *uuid, char *buf, size_t size)
Convert a UUID to a string.