aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
Diffstat (limited to 'include/util')
-rw-r--r--include/util/token.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util/token.h b/include/util/token.h
index 9e6282d4..3aef69cf 100644
--- a/include/util/token.h
+++ b/include/util/token.h
@@ -3,8 +3,14 @@
#include <stdbool.h>
+/**
+ * Number of bytes used by a token, including the terminating zero byte.
+ */
#define TOKEN_SIZE 33
+/**
+ * Generate a random token string.
+ */
bool generate_token(char out[static TOKEN_SIZE]);
#endif