uuid_$decode Library Routine (NCS)

Purpose

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

Syntax

void uuid_$decode ( uuid_string,  uuid,  status)
char *uuid_string;
uuid_$t *uuid;
status_$t *status;

Description

The uuid_$decode routine returns the UUID corresponding to a valid character-string representation of a UUID.

Parameters

Input parameters
uuid_string
Points to the character-string representation of a UUID in the form uuid_$string_t file.
Output parameters
uuid
Points to the UUID that corresponds to the character string that represented in the uuid_string parameter.
status
Points to the completion status.

Examples

  1. The following call returns as my_uuid the UUID corresponding to the character-string representation in my_uuid_rep:
    uuid_$decode (my_uuid_rep, &my_uuid, &status);