diff options
author | Ivan Davydov <lotigara@lotigara.ru> | 2025-06-29 00:08:38 +0300 |
---|---|---|
committer | Ivan Davydov <lotigara@lotigara.ru> | 2025-06-29 00:08:38 +0300 |
commit | 11714ed6c9adc5b6f90bffa1b23d5bb5b2e20bd5 (patch) | |
tree | 9d1831871da0f1906f01cade4440206b6f0f9b84 /acccre-server.h | |
parent | 2cc696105d9f3b8785d2a903211e8adbd707a3e3 (diff) |
Diffstat (limited to 'acccre-server.h')
-rw-r--r-- | acccre-server.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/acccre-server.h b/acccre-server.h index d030c6b..5db8b24 100644 --- a/acccre-server.h +++ b/acccre-server.h @@ -20,9 +20,15 @@ const int sigs[] = { SIGXFSZ }; +int parse(char *str); + +void *reg(void *args); +void *chpasswd(void *args); +void *nop(void *args); + #define BUFFER_SIZE 100 #define DEFAULT_PATH "./acccre.sock" /* Taken from https://pubs.opengroup.org/onlinepubs/9799919799/ */ #define MAX_SUN_PATH sizeof(((struct sockaddr_un *)0)->sun_path) typedef uint16_t acccre_size_t; - +const char *separator = "\t"; |