#include "lib/uuid.h"
#include "lib/atomic.h"
#include "lib/errno.h"
#include "lib/time.h"
#include "lib/string.h"
#include "lib/misc.h"
#include <uuid/uuid.h>
#include "lib/trace.h"
Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LIB |
◆ M0_BASSERT()
M0_BASSERT |
( |
sizeof(struct m0_uint128) |
= =sizeof(char[16]) | ) |
|
◆ m0_node_uuid_init()
int m0_node_uuid_init |
( |
void |
| ) |
|
Initialize the node UUID.
Definition at line 131 of file uuid.c.
◆ parse_hex()
static int parse_hex |
( |
const char * |
str, |
|
|
int |
len, |
|
|
uint64_t * |
val |
|
) |
| |
|
static |
Convert the leading hex string of a specified length to binary. The length and characters are enforced. The maximum length is 16 hex chars.
Definition at line 58 of file uuid.c.
◆ m0_node_uuid