]> jfr.im git - irc/thales.git/blob - src/thales.h
keep track of max number of servers
[irc/thales.git] / src / thales.h
1 /* GNU Thales - IRC to Relational Database Gateway
2 * Copyright (C) 2002 Lucas Nussbaum <lucas@lucas-nussbaum.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 #ifndef _THALES_H_
19 #define _THALES_H_
20
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
24 #include <unistd.h>
25 #include <limits.h>
26 #include <stdarg.h>
27 #include <time.h>
28 #include <sys/time.h>
29 #include <errno.h>
30 #include <sys/types.h>
31 #include <netdb.h>
32 #include <netinet/in.h>
33 #include <sys/socket.h>
34 #include <ctype.h>
35 #include <signal.h>
36 #include <mysql.h>
37 #include "defs.h"
38 #include "config.h"
39
40
41 /* Some Linux boxes (or maybe glibc includes) require this for the
42 * prototype of strsignal(). */
43 #define _GNU_SOURCE
44
45 #if INTTYPE_WORKAROUND
46 # define int16 builtin_int16
47 # define int32 builtin_int32
48 #endif
49
50 #define TRUE 1
51 #define FALSE 0
52
53 #endif /* _THALES_H_ */