Loading...
Searching...
No Matches
GloballyUniqueIDs

Globally unique IDs and random integers. More...

## Files

file | su_uniqueid.h
| Functions to handle GloballyUniqueIDs.

## Detailed Description

Globally unique IDs and random integers.

GloballyUniqueID or su_guid_t is a 128-bit identifier based on current time and MAC address of the node generating the ID. A new ID is generated each time su_guid_generate() is called. Please note that such IDs are not unique if multiple processes are run on the same node.

Use su_guid_sprintf() to convert su_guid_t to printable format.

The random integers can be generated with functions

- su_randint(),
- su_randmem(), or
- su_random().

Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.