uuid.h File Reference

#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

Go to the source code of this file.

Defines

#define UUID_VARIANT_NCS   0
#define UUID_VARIANT_DCE   1
#define UUID_VARIANT_MICROSOFT   2
#define UUID_VARIANT_OTHER   3

Typedefs

typedef unsigned char uuid_t [16]

Functions

void uuid_clear (uuid_t uu)
int uuid_compare (const uuid_t uu1, const uuid_t uu2)
void uuid_copy (uuid_t dst, const uuid_t src)
void uuid_generate (uuid_t out)
void uuid_generate_random (uuid_t out)
void uuid_generate_time (uuid_t out)
int uuid_is_null (const uuid_t uu)
int uuid_parse (const char *in, uuid_t uu)
void uuid_unparse (const uuid_t uu, char *out)
time_t uuid_time (const uuid_t uu, struct timeval *ret_tv)
int uuid_type (const uuid_t uu)
int uuid_variant (const uuid_t uu)

Define Documentation

#define UUID_VARIANT_DCE   1

Definition at line 23 of file uuid.h.

#define UUID_VARIANT_MICROSOFT   2

Definition at line 24 of file uuid.h.

#define UUID_VARIANT_NCS   0

Definition at line 22 of file uuid.h.

#define UUID_VARIANT_OTHER   3

Definition at line 25 of file uuid.h.


Typedef Documentation

typedef unsigned char uuid_t[16]

Definition at line 19 of file uuid.h.


Function Documentation

void uuid_clear ( uuid_t  uu  ) 
int uuid_compare ( const uuid_t  uu1,
const uuid_t  uu2 
)
void uuid_copy ( uuid_t  dst,
const uuid_t  src 
)
void uuid_generate ( uuid_t  out  ) 
void uuid_generate_random ( uuid_t  out  ) 
void uuid_generate_time ( uuid_t  out  ) 
int uuid_is_null ( const uuid_t  uu  ) 
int uuid_parse ( const char *  in,
uuid_t  uu 
)
time_t uuid_time ( const uuid_t  uu,
struct timeval *  ret_tv 
)
int uuid_type ( const uuid_t  uu  ) 
void uuid_unparse ( const uuid_t  uu,
char *  out 
)
int uuid_variant ( const uuid_t  uu  ) 

Generated on Fri Mar 26 20:16:55 2010 for MediaTomb by  doxygen 1.6.1