---
name: "globus_uuid_fields"
section: "3"
platform: "linux"
package: "libglobus-common-doc"
version: "18.14-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_uuid"
---

# globus\_uuid\_fields(3)

Globus UUID Generator - UUID Generator.

Part of [globus\_uuid(3)](/globus_uuid/3.md).

## NAME

globus\_uuid - Globus UUID Generator

 \- UUID Generator.

## SYNOPSIS

### Functions

int **globus\_uuid\_create** (globus\_uuid\_t \*uuid)\
 Create UUID

Creates 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 UUID

Import a string in the text UUID format into a globus\_uuid\_t value. " int **globus\_uuid\_fields** (globus\_uuid\_t \*uuid, globus\_uuid\_fields\_t \*uuid\_fields)\
 Extract fields from UUID

Copy the fields from uuid to uuid\_fields in host byte order. "

## Detailed Description

UUID Generator.

## Function Documentation

### int globus\_uuid\_fields (globus\_uuid\_t \* uuid, globus\_uuid\_fields\_t \* uuid\_fields)

Extract fields from UUID

Copy the fields from uuid to uuid\_fields in host byte order.

**Parameters**

*uuid* Pointer to a uuid. \
 *uuid\_fields* Pointer to uuid fields.

### int globus\_uuid\_import (globus\_uuid\_t \* uuid, const char \* str)

Import a UUID

Import a string in the text UUID format into a globus\_uuid\_t value.

**Parameters**

*uuid* UUID to modify \
 *str* A 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 \

## Author

Generated automatically by Doxygen for globus\_common from the source code.
