44 info->category =
"/main/uuid/";
45 info->summary =
"UUID unit test";
47 "This tests basic UUID operations to ensure they work properly";
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
static int load_module(void)
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)
Universally unique identifier support.
#define AST_TEST_REGISTER(cb)
#define ast_test_status_update(a, b, c...)
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.
static int unload_module(void)
#define AST_TEST_UNREGISTER(cb)
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.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.