aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
Diffstat (limited to 'include/util')
-rw-r--r--include/util/token.h9
-rw-r--r--include/util/uuid.h8
2 files changed, 9 insertions, 8 deletions
diff --git a/include/util/token.h b/include/util/token.h
new file mode 100644
index 00000000..bdfdaf45
--- /dev/null
+++ b/include/util/token.h
@@ -0,0 +1,9 @@
+#ifndef UTIL_TOKEN_H
+#define UTIL_TOKEN_H
+
+#include <stdbool.h>
+
+#define TOKEN_STRLEN 33
+bool generate_token(char out[static TOKEN_STRLEN]);
+
+#endif
diff --git a/include/util/uuid.h b/include/util/uuid.h
deleted file mode 100644
index 2fecb407..00000000
--- a/include/util/uuid.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifndef UTIL_UUID_H
-#define UTIL_UUID_H
-
-#include <stdbool.h>
-
-bool generate_uuid(char out[static 37]);
-
-#endif