my_teams
uuid.c File Reference
#include <uuid/uuid.h>
#include <stdlib.h>
#include "server.h"
Include dependency graph for uuid.c:

Functions

char * get_uuid (void)
 Get a UUID (version 4) More...
 
char * get_uuid_no_malloc (char *uuid)
 Get a UUID (version 4) without malloc. More...
 

Function Documentation

◆ get_uuid()

char* get_uuid ( void  )

Get a UUID (version 4)

Returns
The UUID

◆ get_uuid_no_malloc()

char* get_uuid_no_malloc ( char *  uuid)

Get a UUID (version 4) without malloc.

Parameters
uuidThe UUID
Returns
The UUID