IUF-SDK-3
Interventional Ultrasound Library
iufUuid.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <stdint.h>
#include <uuid/uuid.h>

Macros

#define UUIDS_PER_TICK   1024
 
#define UUID_STRING_BUFFER_SIZE   37
 

Functions

char * iufUuidCreate ()
 Generates a unique string representing a UUID code in the format like e.g. 1b4e28ba-2fa1-11d2-883f-0016d3cca123. More...
 
void setIufUuidCreate (char *c)
 Create a UUID code in the format like e.g. 1b4e28ba-2fa1-11d2-883f-0016d3cca123 and assign it to c. Sufficient memory needs to b e allocated in advance for c. More...
 

Macro Definition Documentation

◆ UUID_STRING_BUFFER_SIZE

#define UUID_STRING_BUFFER_SIZE   37

◆ UUIDS_PER_TICK

#define UUIDS_PER_TICK   1024

Function Documentation

◆ iufUuidCreate()

char* iufUuidCreate ( void  )

Generates a unique string representing a UUID code in the format like e.g. 1b4e28ba-2fa1-11d2-883f-0016d3cca123.

Returns
character array containing a UUID

◆ setIufUuidCreate()

void setIufUuidCreate ( char *  c)

Create a UUID code in the format like e.g. 1b4e28ba-2fa1-11d2-883f-0016d3cca123 and assign it to c. Sufficient memory needs to b e allocated in advance for c.

Parameters
cThe character array the will hold the UUID string.