Create and compare UUIDs.
More...
Create and compare UUIDs.
◆ DPS_GenerateUUID()
void DPS_GenerateUUID |
( |
DPS_UUID * |
uuid | ) |
|
Non secure generation of a random UUID.
- Parameters
-
◆ DPS_InitUUID()
One time initialization.
- Returns
- DPS_OK if initialization succeeds, an error otherwise
◆ DPS_UUIDCompare()
Numerical comparison of two UUIDs.
- Parameters
-
a | One of the UUIDs to compare |
b | The other UUID to compare |
- Returns
- <0 if a less than b
- 0 if a equal to b
- >0 if a greater than b
◆ DPS_UUIDToString()
const char* DPS_UUIDToString |
( |
const DPS_UUID * |
uuid | ) |
|
Return a string representation of a UUID.
- Note
- This function uses a static string and is non-reentrant.
- Parameters
-
- Returns
- The string representation