1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
|