#include <string.h>
#include <unistd.h>
#include <signal.h>
#include "gwlib/gwlib.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 69 of file test_uuid.c.
References debug(), gwlib_init(), gwlib_shutdown(), octstr_create, octstr_destroy(), octstr_get_cstr, octstr_imm(), octstr_replace(), uuid_clear(), uuid_generate(), UUID_STR_LEN, and uuid_unparse().
77 debug(
"uuid",0,
"Creating UUID");
79 debug(
"uuid",0,
"Parse into char");
81 debug(
"uuid",0,
"Create Octstr");
84 debug(
"uuid",0,
"Removing dashes");
void octstr_replace(Octstr *haystack, Octstr *needle, Octstr *repl)
void uuid_unparse(const uuid_t uu, char *out)
void uuid_generate(uuid_t out)
#define octstr_get_cstr(ostr)
Octstr * octstr_imm(const char *cstr)
void octstr_destroy(Octstr *ostr)
#define octstr_create(cstr)
void debug(const char *place, int err, const char *fmt,...)
void gwlib_shutdown(void)
void uuid_clear(uuid_t uu)