Was this page helpful?
A UUID generator object.
Instances of the UUID generator object are thread-safe to generate UUIDs.
Public Functions
Creates a new UUID generator.
Note: This object is thread-safe. It is best practice to create and reuse a single object per application.
Note: If unique node information (IP address) is unable to be determined then random node information will be generated.
See also
See also
Returns a UUID generator that must be freed.
Creates a new UUID generator with custom node information.
Note: This object is thread-safe. It is best practice to create and reuse a single object per application.
See also
Returns a UUID generator that must be freed.
Frees a UUID generator instance.
uuid_gen – [in]
Generates a V1 (time) UUID.
Note: This method is thread-safe
uuid_gen – [in]
output – [out] A V1 UUID for the current time.
Generates a new V4 (random) UUID
Note:: This method is thread-safe
uuid_gen – [in]
output – A randomly generated V4 UUID.
Generates a V1 (time) UUID for the specified time.
Note:: This method is thread-safe
uuid_gen – [in]
timestamp – [in]
output – [out] A V1 UUID for the specified time.
Was this page helpful?