wlroots-hyprland/include/util/token.h

17 lines
270 B
C
Raw Normal View History

#ifndef UTIL_TOKEN_H
#define UTIL_TOKEN_H
#include <stdbool.h>
2023-10-06 16:10:29 +02:00
/**
* Number of bytes used by a token, including the terminating zero byte.
*/
#define TOKEN_SIZE 33
2023-10-06 16:10:29 +02:00
/**
* Generate a random token string.
*/
bool generate_token(char out[static TOKEN_SIZE]);
#endif