uuid_$encode Library Routine (NCS)

Purpose

Converts a Universal Unique Identifier (UUID) into its character-string representation.

Syntax

void uuid_$encode ( uuid,  uuid_string)
uuid_$t *uuid;
char *uuid_string;

Description

The uuid_$encode call returns the character-string representation of a UUID.

Parameters

Input

Item Description
uuid Points to the UUID.

Output

Item Description
uuid_string Points to the character-string representation of a UUID, in the form uuid_$string_t.

Examples

The following call returns as my_uuid_rep the character-string representation for the UUID my_uuid:

uuid_$encode (&my_uuid, my_uuid_rep);