XMMS2
Macros | Functions
uuid.c File Reference
#include <glib.h>
#include <stdlib.h>
#include <s4.h>
#include "s4_priv.h"

Macros

#define HEX_TO_CHAR(c)   ((c)<10?(c) + '0':(c) + 'a' - 10)
 

Functions

void s4_create_uuid (unsigned char uuid[16])
 Creates a new random UUID and saves it in the array passed. More...
 
void s4_get_uuid (s4_t *s4, unsigned char uuid[16])
 Gets the UUID of a S4 database. More...
 
char * s4_get_uuid_string (s4_t *s4)
 Gets the UUID-string of a S4 database. More...