Revision: | 1.1 |
Committed: | Thu Jul 19 08:24:50 2007 UTC (16 years, 10 months ago) by pippijn |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | initial import. the most important changes since Atheme are: - fixed many memory leaks - fixed many bugs - converted to C++ and use more STL containers - added a (not very enhanced yet) perl module - greatly improved XML-RPC speed - added a JSON-RPC module with code from json-cpp - added a valgrind memcheck module to operserv - added a more object oriented base64 implementation - added a specialised unit test framework - improved stability - use gettimeofday() if available - reworked adding/removing commands - MemoServ IGNORE DEL can now remove indices |
# | Content |
---|---|
1 | /* |
2 | * Copyright © 2005 William Pitcock et al. |
3 | * Rights to this code are documented in doc/LICENSE. |
4 | * |
5 | * This is the header which includes all of the system stuff. |
6 | * |
7 | * $Id: stdinc.h 8079 2007-04-02 17:37:39Z nenolod $ |
8 | */ |
9 | |
10 | #ifndef STDINC_H |
11 | #define STDINC_H |
12 | |
13 | /* I N C L U D E S */ |
14 | #include <stdarg.h> |
15 | #include <stdio.h> |
16 | #include <stdlib.h> |
17 | #include <string.h> |
18 | #include <signal.h> |
19 | #include <time.h> |
20 | #include <errno.h> |
21 | #include <setjmp.h> |
22 | #include <sys/stat.h> |
23 | #include <ctype.h> |
24 | #include <regex.h> |
25 | |
26 | #ifdef HAVE_GETOPT_H |
27 | #include <getopt.h> |
28 | #endif |
29 | |
30 | #ifdef HAVE_LINK_H |
31 | #include <link.h> |
32 | #endif |
33 | |
34 | /* socket stuff */ |
35 | #include <netdb.h> |
36 | #include <netinet/in.h> |
37 | #include <unistd.h> |
38 | #include <grp.h> |
39 | #include <sys/time.h> |
40 | #include <sys/wait.h> |
41 | #include <sys/resource.h> |
42 | #include <sys/socket.h> |
43 | #include <fcntl.h> |
44 | #include <arpa/inet.h> |
45 | |
46 | #include <sys/types.h> |
47 | |
48 | #include <libgen.h> |
49 | #include <dirent.h> |
50 | |
51 | #endif |