8 #ifndef FAIRRUNIDGENERATOR_H
9 #define FAIRRUNIDGENERATOR_H
30 struct timespec fTimeSpec;
32 int get_random_fd(
void);
33 void get_random_bytes(
void*,
int);
34 int get_node_id(
unsigned char*);
36 void uuid_generate_time(
uuid_t);
37 void uuid_generate_random(
uuid_t);
38 void uuid_generate(
uuid_t);
39 void uuid_pack(
const struct uuid*,
uuid_t);
40 void uuid_unpack(
const uuid_t,
struct uuid*);
struct timespec getTimeSpecFromTID(unsigned int ms)
unsigned int generateId(void)
unsigned short int uint16_t
struct timespec getTimeSpec()