diff options
author | Ivan Davydov <lotigara@lotigara.ru> | 2025-06-17 14:32:27 +0300 |
---|---|---|
committer | Ivan Davydov <lotigara@lotigara.ru> | 2025-06-17 14:32:27 +0300 |
commit | 9d945cd7e55c7d4f432dbe8ea758178fadd44b04 (patch) | |
tree | 1a793e9fe1c2defe25ab5d687f20798ecbf34bb0 /acccre-server.h |
Initial commit
Diffstat (limited to 'acccre-server.h')
-rw-r--r-- | acccre-server.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/acccre-server.h b/acccre-server.h new file mode 100644 index 0000000..7ffd84b --- /dev/null +++ b/acccre-server.h @@ -0,0 +1,25 @@ +#include <signal.h> +#include <stdint.h> + +const int sigs[] = { + SIGABRT, + SIGALRM, + SIGFPE, + SIGHUP, + SIGILL, + SIGINT, + SIGPIPE, + SIGQUIT, + SIGSEGV, + SIGSYS, + SIGTERM, + SIGTRAP, + SIGTSTP, + SIGVTALRM, + SIGXCPU, + SIGXFSZ +}; + +#define BUFFER_SIZE 100 +#define DEFAULT_PATH "./acccre.sock" +typedef uint16_t acccre_size_t; |