#define ASUUIDMaxStringLen
40
| |
Timestamp low field.
| |
Timestamp middle field.
| |
Timestamp middle field multiplexed with the version number.
| |
High field of the clock sequence multiplexed with the variant.
| |
Low field of the clock sequence.
| |
The spatially unique node identifier.
| |
|
ASBool
ASUUIDFromCString(
ASUUID
*
dst
,
const
char
*
str
);
dst | (Filled by the method) The UUID created from the string.
|
str | A
NULL -terminated string from which to generate the UUID, in the following form: f81d4fae-7dec-11d0-a765-00a0c91e6bf6 . |
ASBool
ASUUIDGenFromHash(
ASUUID
*
dst
,
ASUns8
hash
[
16
]
);
dst | (Filled by the method) The UUID created from the hash.
|
hash | A hash value, such as MD5.
|
ASBool
ASUUIDGenFromName(
ASUUID
*
dst
,
const
ASUUID
*
ns
,
void
*
name
,
ASByteCount
bytes
);
dst | (Filled by the method) The UUID created from the name.
|
ns | A namespace or context meaningful to the client.
|
name | A pointer to an arbitrary block of data to be identified by the UUID.
|
bytes | The number of bytes in
name . |
ASBool
ASUUIDGenUnique(
ASUUID
*
dst
);
dst | (Filled by the method) The UUID created from the hash.
|
NULL
-terminated C string from the unique identifier (UUID) for a user or session. void
ASUUIDToCString(
char
*
dst
,
const
ASUUID
*
src
);
dst | (Filled by the method) A
NULL -terminated string from which to generate the UUID, in the following form: f81d4fae-7dec-11d0-a765-00a0c91e6bf6 . The string must be at least the length specified by ASUUIDMaxStringLen(). |
src | The UUID from which to generate the string.
|