libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Data Structures | |
struct | GblUuid |
Macros | |
#define | GBL_UUID_BYTE_COUNT |
#define | GBL_UUID_NODE_COUNT |
#define | GBL_UUID_STRING_SIZE |
#define | GBL_UUID_STRING_LENGTH |
Functions | |
GblBool | GblUuid_isNil (const GblUuid *pSelf) |
int | GblUuid_compare (const GblUuid *pSelf, const GblUuid *pOther) |
unsigned | GblUuid_version (const GblUuid *pSelf) |
GblUuid generator, stringifier, validator, etc.
LibGimbal provides basic UUID functionality by allowing you to deserialize existing UUIDs from strings, generate new version 4 UUIDs, serialize UUIDs, and compare two UUIDs, based on RFC 4122.
Definition in file gimbal_uuid.h.
#define GBL_UUID_BYTE_COUNT |
Total number of bytes to representa a UUID, per RFC 4122.
Definition at line 22 of file gimbal_uuid.h.
#define GBL_UUID_NODE_COUNT |
Number of node bytes in a UUID, per RFC 4122.
Definition at line 23 of file gimbal_uuid.h.
#define GBL_UUID_STRING_SIZE |
Byte size of a string needed to represent a UUID, including NULL terminator.
Definition at line 24 of file gimbal_uuid.h.
#define GBL_UUID_STRING_LENGTH |
Length of string needed to represent a UUID, excluding NULL terminator.
Definition at line 25 of file gimbal_uuid.h.
Returns true if the given UUID is equal to the NIL UUID, per RFC 4122 (all zeroes),.
Throws an error if pSelf is invalid.
pSelf | pointer to a GblUuid |