Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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.
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