bool uuid_equal | ( | const Uuid * | uu1, |
const Uuid * | uu2 | ||
) |
Compares two UUIDs.
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}.
uuid | The Uuid to write |
buffer | Memory to write the string to. Must be at least UUID_STRING_BUFFER_LENGTH bytes long. |
#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) |
Creates a Uuid from an array of bytes with 16 bytes in Big Endian order.
#define UuidMakeFromLEBytes | ( | b) |
Creates a Uuid from an array of bytes with 16 bytes in Little Endian order.