wlroots-hyprland/include/util/token.h
2023-10-26 16:30:12 +00:00

16 lines
270 B
C

#ifndef UTIL_TOKEN_H
#define UTIL_TOKEN_H
#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