1 #ifndef LIBRARIES_UUID_H
2 #define LIBRARIES_UUID_H
6 typedef uint64_t uuid_time_t
;
17 uint16_t time_hi_and_version
;
18 uint8_t clock_seq_hi_and_reserved
;
19 uint8_t clock_seq_low
;
23 #define MAKE_UUID(a, b, c, d, e) \
26 ((d) >> 8) & 0xFF, (d) & 0xFF, \
29 ((UQUAD)(e) >> 32) & 0xFF, \
39 UUID_NAMESPACE_DNS
= 1,
47 UUID_TYPE_DCE_TIME
= 1,
48 UUID_TYPE_DCE_RANDOM
= 4
55 UUID_VARIANT_MICROSOFT
= 2,
56 UUID_VARIANT_OTHER
= 3
59 #define UUID_STRLEN 36
61 #endif /*LIBRARIES_UUID_H*/