add 1 more insult
[fillybot.git] / common.h
blob81b7fad256061277f3df2eb329d26f05000f46bd
1 #define _GNU_SOURCE
2 #include <features.h>
3 #include <sys/types.h>
4 #include <sys/socket.h>
5 #include <sys/ucontext.h>
6 #include <sys/ioctl.h>
7 #include <stdio.h>
8 #include <execinfo.h>
9 #include <assert.h>
10 #include <stdlib.h>
11 #include <unistd.h>
12 #include <string.h>
13 #include <netdb.h>
14 #include <getopt.h>
15 #include <errno.h>
16 #include <poll.h>
17 #include <openssl/ssl.h>
18 #include <setjmp.h>
20 #include "shared.h"
22 extern jmp_buf crash_buf;
24 void set_signals(unsigned activate);
25 void crash_write_backtrace(struct bio *b, const char *nick);
26 void crash_init(void);
27 void crash_fini(void);
28 void crash_mod(struct bio *b, const char *target);