summaryrefslogtreecommitdiff
path: root/source/3rd-party/uuid4/uuid4.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/3rd-party/uuid4/uuid4.h')
-rw-r--r--source/3rd-party/uuid4/uuid4.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/3rd-party/uuid4/uuid4.h b/source/3rd-party/uuid4/uuid4.h
new file mode 100644
index 0000000..fb3ed2f
--- /dev/null
+++ b/source/3rd-party/uuid4/uuid4.h
@@ -0,0 +1,22 @@
+/**
+ * Copyright (c) 2018 rxi
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the MIT license. See LICENSE for details.
+ */
+
+#ifndef UUID4_H
+#define UUID4_H
+
+#define UUID4_VERSION "1.0.0"
+#define UUID4_LEN 37
+
+enum {
+ UUID4_ESUCCESS = 0,
+ UUID4_EFAILURE = -1
+};
+
+int uuid4_init(void);
+void uuid4_generate(char *dst);
+
+#endif