mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-01 16:55:59 +01:00
16 lines
270 B
C
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
|