ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/stdinc.h
Revision: 6953
Committed: Tue Dec 15 19:44:25 2015 UTC (9 years, 8 months ago) by michael
Content type: text/x-chdr
File size: 2153 byte(s)
Log Message:
- resv.txt, stdinc.h: comment/documentation updates provided by jackal

File Contents

# User Rev Content
1 adx 30 /*
2 michael 6953 * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3 adx 30 * stdinc.h: Pull in all of the necessary system headers
4     *
5     * Copyright (C) 2002 Aaron Sethman <androsyn@ratbox.org>
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19 michael 4565 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
20 adx 30 * USA
21     *
22 knight 31 * $Id$
23 adx 30 *
24     */
25    
26 michael 6345 #ifndef INCLUDED_stdinc_h /* prevent multiple #includes */
27     #define INCLUDED_stdinc_h
28 michael 3800
29 michael 912 #include "config.h"
30 adx 30
31     #include "defaults.h"
32    
33 michael 1015 #include <stddef.h>
34 adx 30 #include <stdlib.h>
35 michael 923 #include <string.h>
36 michael 1329 #include <stdint.h>
37     #include <errno.h>
38 adx 30 #include <sys/types.h>
39    
40     #ifdef HAVE_CRYPT_H
41     #include <crypt.h>
42     #endif
43    
44     #ifdef HAVE_LIBCRYPTO
45     #include <openssl/ssl.h>
46     #include <openssl/err.h>
47     #endif
48    
49 michael 1858 #ifdef HAVE_LIBGEOIP
50     #include <GeoIP.h>
51     #endif
52    
53 adx 30 #include <stdio.h>
54     #include <assert.h>
55     #include <time.h>
56     #include <fcntl.h>
57    
58     #include <stdarg.h>
59     #include <signal.h>
60     #include <ctype.h>
61    
62     #include <dirent.h>
63     #include <netdb.h>
64     #include <sys/socket.h>
65     #include <netinet/in.h>
66     #include <arpa/inet.h>
67     #include <sys/time.h>
68     #include <sys/file.h>
69    
70     #include <limits.h>
71 michael 6782 #include <inttypes.h>
72 adx 30
73     #ifdef HAVE_UNISTD_H
74     #include <unistd.h>
75     #endif
76    
77     #ifdef HAVE_SYS_RESOURCE_H
78     #include <sys/resource.h>
79     #endif
80    
81     #include <sys/stat.h>
82     #ifdef HAVE_SYS_WAIT_H
83     #include <sys/wait.h>
84     #endif
85    
86     #ifdef HAVE_SYS_PARAM_H
87     #include <sys/param.h>
88     #endif
89    
90 michael 1737 #ifdef PATH_MAX
91     #define HYB_PATH_MAX PATH_MAX
92     #else
93     #define HYB_PATH_MAX 4096
94 adx 30 #endif
95 michael 1737
96 michael 3595 #if 0 && __GNUC__
97 michael 1761 #define AFP(a,b) __attribute__((format (printf, a, b)))
98 michael 1834 #else
99     #define AFP(a,b)
100     #endif
101 michael 1761
102     #endif

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision