Grid Community Toolkit  6.2.1550507116
Functions
Globus UUID Generator

UUID Generator. More...

Functions

int globus_uuid_create (globus_uuid_t *uuid)
 Create UUIDCreates a time based, Leach-Salz variant uuid, using the mac address when available.
 
int globus_uuid_import (globus_uuid_t *uuid, const char *str)
 Import a UUIDImport a string in the text UUID format into a globus_uuid_t value. More...
 
int globus_uuid_fields (globus_uuid_t *uuid, globus_uuid_fields_t *uuid_fields)
 Extract fields from UUIDCopy the fields from uuid to uuid_fields in host byte order. More...
 

Detailed Description

UUID Generator.

Function Documentation

◆ globus_uuid_fields()

int globus_uuid_fields ( globus_uuid_t *  uuid,
globus_uuid_fields_t *  uuid_fields 
)

Extract fields from UUIDCopy the fields from uuid to uuid_fields in host byte order.

Parameters
uuidPointer to a uuid.
uuid_fieldsPointer to uuid fields.

◆ globus_uuid_import()

int globus_uuid_import ( globus_uuid_t *  uuid,
const char *  str 
)

Import a UUIDImport a string in the text UUID format into a globus_uuid_t value.

Parameters
uuidUUID to modify
strA string at least GLOBUS_UUID_TEXTLEN long and be in the format like 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb

1b4e28ba-2fa1-11d2-883f-b9a761bde3fb 012345678901234567890123456789012345 0 1 2 3