#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" /* 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;