DESCRIPTION
The uuid_gen program generates Universal Unique Identifiers (UUIDs).
Without options, it generates a character-string representation of a
UUID. The options enable you to generate templates for Network Interface
Definition Language (NIDL) files or to generate source-code
representations of UUIDs, suitable for initializing variables of type
uuid_$t.
OPTIONS
-c Generate a template, including a UUID attribute, for an
interface definition in the C syntax of NIDL.
-p Generate a template, including a UUID attribute, for an
interface definition in the Pascal syntax of NIDL.
-C Generate a C source-code representation of a UUID.
-P Generate a Pascal source-code representation of a UUID.
EXAMPLES
Generate a template for an interface definition in the C syntax of NIDL:
$ /sys/ncs/uuid_gen -c
%c
[
uuid(34dc239ec000.0d.00.00.7c.5f.00.00.00),
version(1)
]
interface INTERFACENAME {
Generate a C source-code representation of a UUID:
$ /sys/ncs/uuid_gen -C
= { 0x34dc23af,
0xf000,
0x0000,
0x0d,
{0x00, 0x00, 0x7c, 0x5f, 0x00, 0x00, 0x00} };