ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/stdinc.h
Revision: 1.3
Committed: Tue Aug 28 17:08:07 2007 UTC (16 years, 9 months ago) by pippijn
Content type: text/plain
Branch: MAIN
Changes since 1.2: +10 -10 lines
Log Message:
- changed name
- updated the example config to the new system
- added more documentation
- enhanced documentation generators
- added a link to the pdf to the website
- added an RSS feed generator
- transitioned hooks to c++ callbacks
- did various merges with upstream along the way
- added const where appropriate
- removed the old block allocator
- fixed most memory leaks
- transitioned some dictionaries to std::map
- transitioned some lists to std::vector
- made some free functions members where appropriate
- renamed string to dynstr and added a static string ststr
- use NOW instead of time (NULL) if possible
- completely reworked database backends, crypto handlers and protocol handlers
  to use an object factory
- removed the old module system. ermyth does not do any dynamic loading anymore
- fixed most of the build system
- reworked how protocol commands work

File Contents

# Content
1 /*
2 * Copyright © 2005 William Pitcock et al.
3 * Rights to this code are documented in doc/pod/license.pod.
4 *
5 * This is the header which includes all of the system stuff.
6 *
7 * $Id: stdinc.h,v 1.2 2007-07-21 01:29:07 pippijn Exp $
8 */
9
10 #ifndef STDINC_H
11 #define STDINC_H
12
13 /* I N C L U D E S */
14 #include <cstdarg>
15 #include <cstdio>
16 #include <cstdlib>
17 #include <cstring>
18 #include <csignal>
19 #include <ctime>
20 #include <cerrno>
21 #include <setjmp.h>
22 #include <sys/stat.h>
23 #include <cctype>
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