All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups

Detailed Description

Function Documentation

bool uuid_equal ( const Uuid *  uu1,
const Uuid *  uu2 
)

Compares two UUIDs.

Returns
True if the two UUIDs are equal, false if they are not.
void uuid_to_string ( const Uuid *  uuid,
char *  buffer 
)

Writes UUID in a string form into buffer that looks like the following... {12345678-1234-5678-1234-567812345678}.

Parameters
uuidThe Uuid to write
bufferMemory to write the string to. Must be at least UUID_STRING_BUFFER_LENGTH bytes long.

Macro Definition Documentation

#define UUID_STRING_BUFFER_LENGTH   (32 + 4 + 2 + 1)

The minimum required length of a string used to hold a uuid (including null).

#define UuidMakeFromBEBytes (   b)
Value:
((Uuid) { b[0], b[1], b[2], b[3], \
b[4], b[5], b[6], b[7], \
b[8], b[9], b[10], b[11], \
b[12], b[13], b[14], b[15] })

Creates a Uuid from an array of bytes with 16 bytes in Big Endian order.

Returns
The created Uuid
#define UuidMakeFromLEBytes (   b)
Value:
((Uuid) { b[15], b[14], b[13], b[12], \
b[11], b[10], b[9], b[8], \
b[7], b[6], b[5], b[4], \
b[3], b[2], b[1], b[0] })

Creates a Uuid from an array of bytes with 16 bytes in Little Endian order.

Returns
The created Uuid