wlroots/include/util/token.h
Simon Ser 55be74ad86 util/token: rename TOKEN_STRLEN to TOKEN_SIZE
TOKEN_STRLEN is not actually the strlen() of the token. It's the
size taken by the token included the final zero byte.

Change the name to make this clearer, and remove unnecessary +1's.
2023-10-26 16:30:12 +00:00

11 lines
146 B
C

#ifndef UTIL_TOKEN_H
#define UTIL_TOKEN_H
#include <stdbool.h>
#define TOKEN_SIZE 33
bool generate_token(char out[static TOKEN_SIZE]);
#endif