From 9d945cd7e55c7d4f432dbe8ea758178fadd44b04 Mon Sep 17 00:00:00 2001 From: Ivan Davydov Date: Tue, 17 Jun 2025 14:32:27 +0300 Subject: Initial commit --- acccre-server.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 acccre-server.h (limited to 'acccre-server.h') 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 +#include + +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; -- cgit v1.2.3