#include <si_sys/defs.h>
Go to the source code of this file.
Classes | |
struct | sc_uuid |
A UUID structure. More... | |
Functions | |
sc_status | sc_uuid_init (sc_uuid *uuid) |
sc_status | sc_uuid_initFromString (sc_uuid *uuid, const TCHAR *uuidstr) |
sc_status | sc_uuid_assign (sc_uuid *pthis, const sc_uuid *pthat) |
sc_status | sc_uuid_compareEqual (const sc_uuid *g0, const sc_uuid *g1, s_bool *equal) |
Used here so that device categories and interfaces can be independently developed without need to cooperate on id constants or ranges.
Assign pthis to the value of *pthat.
Compares g0 to g1, and returns seTrue if they are equal, and seFalse otherwise.
[in] | g0 | A UUID |
[in] | g1 | Another UUID |
[out] | equal | Gets set to seTrue if they are equal, seFalse otherwise. |
sc_status sc_uuid_init | ( | sc_uuid * | uuid | ) |
initialize the uuid from another uuid (may be NULL).
sc_status sc_uuid_initFromString | ( | sc_uuid * | uuid, | |
const TCHAR * | uuidstr | |||
) |
Initialize the uuid from a uuid string given in the format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX or { XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX }
[in,out] | uuid | UUID object to initialize. |
[in] | uuidstr | UUID string to convert. |