11 #define UUID_NS "4f947b70-6f9f-43b6-8dc1-1321977c8240"
15 main(
int argc,
char * argv[])
18 Uuid dummy1 =
new(Uuid);
21 for (i=0; i<10000; i++) {
30 printf(
"nsid: %s\n", uuid_str);
33 printf(
"nsid: %s\n", uuid_str);
36 printf(
"nsid: %s\n", uuid_str);
39 printf(
"nsid: %s\n", uuid_str);
41 printf(
"equal | expected 0 : got %d\n",
uuidCompare(ver5, ver5));
42 printf(
"not equal | expected !0 : got %d\n",
uuidCompare(ver3, ver5));
int uuidCompare(Uuid, Uuid)
Uuid uuidParse(const UuidString)
void uuidUnparse(Uuid, UuidString)
Uuid uuidVersion3(const unsigned char *, size_t, Uuid)
Uuid uuidVersion5(const unsigned char *, size_t, Uuid)
int main(int argc, char *argv[])