mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
b29ac8fbac
Use 128-bit hexadecimal string tokens generated with /dev/urandom instead of UUIDs for xdg-foreign handles, removing the libuuid dependency. Update readme and CI. Closes #2830. build: remove xdg-foreign feature With no external dependencies required, there's no reason not to always build it. Remove WLR_HAS_XDG_FOREIGN as well.
10 lines
149 B
C
10 lines
149 B
C
#ifndef UTIL_TOKEN_H
|
|
#define UTIL_TOKEN_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#define TOKEN_STRLEN 33
|
|
bool generate_token(char out[static TOKEN_STRLEN]);
|
|
|
|
#endif
|