From 2410710a0f82b3e59b584d9c4f75b5f7758da6e4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 6 Oct 2023 16:10:29 +0200 Subject: [PATCH] util/token: add docs --- include/util/token.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 +/** + * 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