Globally unique IDs and random integers. More...
Files | |
file | su_uniqueid.h |
Functions to handle GloballyUniqueIDs. |
Globally unique IDs and random integers.
GloballyUniqueID or su_guid_t is a 128-bit identifier based on current time and MAC address of the node generating the ID. A new ID is generated each time su_guid_generate() is called. Please note that such IDs are not unique if multiple processes are run on the same node.
Use su_guid_sprintf() to convert su_guid_t to printable format.
The random integers can be generated with functions