| Layer | AS_Layer |
| Object | ASUUID |
An object containing data and methods supporting a universal unique identifier (UUID) for the current user or the current session.
| Define | ||
|---|---|---|
| ASUUIDMaxStringLen
A constant for the maximum string length of a unique identifier (UUID).
|
||
| Structure | ||
|---|---|---|
| ASUUID
A structure representing a universal unique identifier (UUID) for the current user or the current session.
|
||
| Method | ||
|---|---|---|
|
ASBool ASUUIDFromCString(ASUUID* dst, const char* str)
Parses a C string, such as one generated by ASUUIDToCString(), into a unique identifier (UUID).
|
||
|
Generates a unique identifier (UUID) from a hash value.
|
||
|
Generates a universal unique identifier (UUID) for a block of data (a name) in a context (a namespace).
|
||
|
ASBool ASUUIDGenUnique(ASUUID* dst)
Generates a unique identifier (UUID).
|
||
|
void ASUUIDToCString(char* dst, const ASUUID* src)
Generates a NULL-terminated C string from the unique identifier (UUID) for a user or session.
|
||
| ASUUIDMaxStringLen |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
#define ASUUIDMaxStringLen 40
A constant for the maximum string length of a unique identifier (UUID).
See Also
| File: ASExpT.h |
| Line: 3998 |
| ASUUID |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
struct ASUUID {
ASUns32 timeLow;
ASUns16 timeMid;
ASUns16 timeHiAndVersion;
ASUns8 clockSeqHiAndReserved;
ASUns8 clockSeqLow;
ASUns8 node[6];
}
A structure representing a universal unique identifier (UUID) for the current user or the current session.
| File: ASExpT.h |
| Line: 3978 |
| timeLow | Timestamp low field. |
|
| timeMid | Timestamp middle field. |
|
| timeHiAndVersion | Timestamp middle field multiplexed with the version number. |
|
| clockSeqHiAndReserved | High field of the clock sequence multiplexed with the variant. |
|
| clockSeqLow | Low field of the clock sequence. |
|
| node | The spatially unique node identifier. |
| ASUUIDFromCString | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
Parses a C string, such as one generated by ASUUIDToCString(), into a unique identifier (UUID).
Parameters
dst — | (Filled by the method) The UUID created from the string. |
|
str — | A |
|
See Also
Since
| File: ASProcs.h |
| Line: 2190 |
| ASUUIDGenFromHash | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
Generates a unique identifier (UUID) from a hash value.
Parameters
dst — | (Filled by the method) The UUID created from the hash. |
|
hash — | A hash value, such as MD5. |
|
See Also
Since
| File: ASProcs.h |
| Line: 2173 |
| ASUUIDGenFromName | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
ASBool ASUUIDGenFromName(ASUUID* dst, const ASUUID* ns, void* name, ASByteCount bytes)
Generates a universal unique identifier (UUID) for a block of data (a name) in a context (a namespace).
Parameters
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 |
|
See Also
Since
| File: ASProcs.h |
| Line: 2157 |
| ASUUIDGenUnique | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
Generates a unique identifier (UUID).
Parameters
dst — | (Filled by the method) The UUID created from the hash. |
|
See Also
Since
| File: ASProcs.h |
| Line: 2137 |
| ASUUIDToCString | () |
| Product availability: PDFL |
| Platform availability: Macintosh, Windows, UNIX |
void ASUUIDToCString(char* dst, const ASUUID* src)
Generates a NULL-terminated C string from the unique identifier (UUID) for a user or session.
Parameters
dst — | (Filled by the method) A |
|
src — | The UUID from which to generate the string . |
See Also
Since
| File: ASProcs.h |
| Line: 2208 |