Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/acccre-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'acccre-server.h')
-rw-r--r--acccre-server.h25
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;