http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

uuid

Index


UUID_Clear() UUID_Compare() UUID_Copy() UUID_Generate()

UUID_Clear()

Synopsis

void UUID_Clear(
         uuid_t * uuid );

Function

Clears the specified uuid.

Inputs

uuid - UUID to be cleared.

Result

This function always succeeds.

UUID_Compare()

Synopsis

int UUID_Compare(
         const uuid_t * u1,
         const uuid_t * u2 );

Function

Compares between two UUIDs.

Inputs

u1, u2 - UUIDs to be compared.

Result

<0 - if the u1 is lexically BEFORE u2
=0 - if u1 equals u2
>0 - if the u1 is lexically AFTER u2

UUID_Copy()

Synopsis

void UUID_Copy(
         const uuid_t * src,
         uuid_t * dst );

Function

Copies the UUID's.

Inputs

src - the source UUID.
dst - the desitation UUID.

Result

This function always succeeds.

UUID_Generate()

Synopsis

void UUID_Generate(
         uuid_type_t type,
         uuid_t * uuid );

Function

Generate Universally Unique Identifier conforming the RFC 4122.

Inputs

type - type of the identifier:
       UUID_TYPE_DCE_RANDOM - random identifier. Do not use it on purpose
                              due to the weak source of noise on AROS.
       UUID_TYPE_DCE_TIME - system time based identifier.

uuid - storage for generated UUID.

Result

This function always succeeds.

Copyright © 1995-2024, The AROS Development Team. Tutti i diritti riservati.
Amiga® č un marchio registrato di Amiga Inc. Tutti i diritti sui marchi vanno ai legittimi proprietari.