1 /* includes/silcdefs.h.  Generated automatically by configure.  */
2 /* includes/silcdefs.h.in.  Generated automatically from configure.in by autoheader.  */
3 
4 /* Define to empty if the keyword does not work.  */
5 /* #undef const */
6 
7 /* Define to `int' if <sys/types.h> doesn't define.  */
8 /* #undef gid_t */
9 
10 /* Define as __inline if that's what the C compiler calls it.  */
11 /* #undef inline */
12 
13 /* Define to `int' if <sys/types.h> doesn't define.  */
14 /* #undef mode_t */
15 
16 /* Define to `int' if <sys/types.h> doesn't define.  */
17 /* #undef pid_t */
18 
19 /* Define as the return type of signal handlers (int or void).  */
20 #define RETSIGTYPE void
21 
22 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
23 /* #undef size_t */
24 
25 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
26 /* #undef STAT_MACROS_BROKEN */
27 
28 /* Define if you have the ANSI C header files.  */
29 #define STDC_HEADERS 1
30 
31 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
32 #define TIME_WITH_SYS_TIME 1
33 
34 /* Define to `int' if <sys/types.h> doesn't define.  */
35 /* #undef uid_t */
36 
37 /* Debugging */
38 /* #undef SILC_DEBUG */
39 
40 /* Default configuration file */
41 /* #undef SILC_SERVER_CONFIG_FILE */
42 
43 /* Multi-thread support */
44 #define SILC_THREADS 1
45 
46 /* Default paths */
47 #define SILC_ETCDIR "/etc/silc"
48 #define SILC_HELPDIR "help"
49 #define SILC_DOCDIR "doc"
50 #define SILC_MODULESDIR "modules"
51 #define SILC_LOGSDIR "logs"
52 
53 /* SIM (SILC Module) support */
54 /* #undef SILC_SIM */
55 /* #undef HAVE_RTLD_NOW */
56 /* #undef HAVE_RTLD_LAZY */
57 
58 /* Types */
59 /*
60 #define SILC_SIZEOF_LONG_LONG 8
61 #define SILC_SIZEOF_LONG 4
62 #define SILC_SIZEOF_INT 4
63 #define SILC_SIZEOF_SHORT 2
64 #define SILC_SIZEOF_CHAR 1
65 #define SILC_SIZEOF_VOID_P 4
66 */
67 
68 /* MP library */
69 /* #undef SILC_MP_GMP */
70 #define SILC_MP_SILCMATH 1
71 
72 /* Redefs for SOCKS5 library */
73 /* macros/curses checks */
74 /* #undef HAS_CURSES */
75 /* #undef USE_SUNOS_CURSES */
76 /* #undef USE_BSD_CURSES */
77 /* #undef USE_SYSV_CURSES */
78 /* #undef USE_NCURSES */
79 /* #undef NO_COLOR_CURSES */
80 /* #undef SCO_FLAVOR */
81 
82 /* #undef SOCKS */
83 /* #undef SOCKS5 */
84 /* #undef Rconnect */
85 /* #undef Rgetsockname */
86 /* #undef Rgetpeername */
87 /* #undef Rbind */
88 /* #undef Raccept */
89 /* #undef Rlisten */
90 /* #undef Rselect */
91 /* #undef Rrecvfrom */
92 /* #undef Rsendto */
93 /* #undef Rrecv */
94 /* #undef Rsend */
95 /* #undef Rread */
96 /* #undef Rwrite */
97 /* #undef Rrresvport */
98 /* #undef Rshutdown */
99 /* #undef Rlisten */
100 /* #undef Rclose */
101 /* #undef Rdup */
102 /* #undef Rdup2 */
103 /* #undef Rfclose */
104 /* #undef Rgethostbyname */
105 
106 /* Native WIN32 compilation (-mno-cygwin GCC option) under cygwin, though
107    the code compiles with any native WIN32 compiler. */
108 #ifndef SILC_WIN32
109 #define SILC_WIN32 1
110 #endif
111 
112 /* SILC distribution definitions (leave this at the end of file) */
113 #define SILC_DIST_TOOLKIT 1
114 /* #undef SILC_DIST_CLIENT */
115 /* #undef SILC_DIST_SERVER */
116 /* #undef SILC_DIST_WIN32DLL */
117 
118 /* The number of bytes in a char.  */
119 #define SIZEOF_CHAR 1
120 
121 /* The number of bytes in a int.  */
122 #define SIZEOF_INT 4
123 
124 /* The number of bytes in a long.  */
125 #define SIZEOF_LONG 4
126 
127 /* The number of bytes in a long long.  */
128 #define SIZEOF_LONG_LONG 8
129 
130 /* The number of bytes in a short.  */
131 #define SIZEOF_SHORT 2
132 
133 /* The number of bytes in a void *.  */
134 #define SIZEOF_VOID_P 4
135 
136 /* Define if you have the bind function.  */
137 #define HAVE_BIND 1
138 
139 /* Define if you have the chmod function.  */
140 #define HAVE_CHMOD 1
141 
142 /* Define if you have the close function.  */
143 #define HAVE_CLOSE 1
144 
145 /* Define if you have the connect function.  */
146 #define HAVE_CONNECT 1
147 
148 /* Define if you have the ctime function.  */
149 #define HAVE_CTIME 1
150 
151 /* Define if you have the fcntl function.  */
152 #define HAVE_FCNTL 1
153 
154 /* Define if you have the fstat function.  */
155 #define HAVE_FSTAT 1
156 
157 /* Define if you have the getenv function.  */
158 #define HAVE_GETENV 1
159 
160 /* Define if you have the getgid function.  */
161 #define HAVE_GETGID 1
162 
163 /* Define if you have the gethostbyaddr function.  */
164 #define HAVE_GETHOSTBYADDR 1
165 
166 /* Define if you have the gethostname function.  */
167 #define HAVE_GETHOSTNAME 1
168 
169 /* Define if you have the getopt_long function.  */
170 #define HAVE_GETOPT_LONG 1
171 
172 /* Define if you have the getpgid function.  */
173 #define HAVE_GETPGID 1
174 
175 /* Define if you have the getpgrp function.  */
176 #define HAVE_GETPGRP 1
177 
178 /* Define if you have the getpid function.  */
179 #define HAVE_GETPID 1
180 
181 /* Define if you have the getservbyname function.  */
182 #define HAVE_GETSERVBYNAME 1
183 
184 /* Define if you have the getservbyport function.  */
185 #define HAVE_GETSERVBYPORT 1
186 
187 /* Define if you have the getsid function.  */
188 /* #undef HAVE_GETSID */
189 
190 /* Define if you have the gettimeofday function.  */
191 #define HAVE_GETTIMEOFDAY 1
192 
193 /* Define if you have the getuid function.  */
194 #define HAVE_GETUID 1
195 
196 /* Define if you have the listen function.  */
197 #define HAVE_LISTEN 1
198 
199 /* Define if you have the memcpy function.  */
200 #define HAVE_MEMCPY 1
201 
202 /* Define if you have the memmove function.  */
203 #define HAVE_MEMMOVE 1
204 
205 /* Define if you have the memset function.  */
206 #define HAVE_MEMSET 1
207 
208 /* Define if you have the mlock function.  */
209 /* #undef HAVE_MLOCK */
210 
211 /* Define if you have the munlock function.  */
212 /* #undef HAVE_MUNLOCK */
213 
214 /* Define if you have the pthread_create function.  */
215 #define HAVE_PTHREAD_CREATE 1
216 
217 /* Define if you have the putenv function.  */
218 #define HAVE_PUTENV 1
219 
220 /* Define if you have the select function.  */
221 #define HAVE_SELECT 1
222 
223 /* Define if you have the setsockopt function.  */
224 #define HAVE_SETSOCKOPT 1
225 
226 /* Define if you have the shutdown function.  */
227 #define HAVE_SHUTDOWN 1
228 
229 /* Define if you have the stat function.  */
230 #define HAVE_STAT 1
231 
232 /* Define if you have the strchr function.  */
233 #define HAVE_STRCHR 1
234 
235 /* Define if you have the strcpy function.  */
236 #define HAVE_STRCPY 1
237 
238 /* Define if you have the strerror function.  */
239 #define HAVE_STRERROR 1
240 
241 /* Define if you have the strncpy function.  */
242 #define HAVE_STRNCPY 1
243 
244 /* Define if you have the strstr function.  */
245 #define HAVE_STRSTR 1
246 
247 /* Define if you have the time function.  */
248 #define HAVE_TIME 1
249 
250 /* Define if you have the <arpa/inet.h> header file.  */
251 #define HAVE_ARPA_INET_H 1
252 
253 /* Define if you have the <assert.h> header file.  */
254 #define HAVE_ASSERT_H 1
255 
256 /* Define if you have the <ctype.h> header file.  */
257 #define HAVE_CTYPE_H 1
258 
259 /* Define if you have the <dlfcn.h> header file.  */
260 #define HAVE_DLFCN_H 1
261 
262 /* Define if you have the <errno.h> header file.  */
263 #define HAVE_ERRNO_H 1
264 
265 /* Define if you have the <fcntl.h> header file.  */
266 #define HAVE_FCNTL_H 1
267 
268 /* Define if you have the <getopt.h> header file.  */
269 #define HAVE_GETOPT_H 1
270 
271 /* Define if you have the <grp.h> header file.  */
272 #define HAVE_GRP_H 1
273 
274 /* Define if you have the <limits.h> header file.  */
275 #define HAVE_LIMITS_H 1
276 
277 /* Define if you have the <ncurses.h> header file.  */
278 #define HAVE_NCURSES_H 1
279 
280 /* Define if you have the <netdb.h> header file.  */
281 #define HAVE_NETDB_H 1
282 
283 /* Define if you have the <netinet/in.h> header file.  */
284 #define HAVE_NETINET_IN_H 1
285 
286 /* Define if you have the <netinet/tcp.h> header file.  */
287 #define HAVE_NETINET_TCP_H 1
288 
289 /* Define if you have the <paths.h> header file.  */
290 #define HAVE_PATHS_H 1
291 
292 /* Define if you have the <pthread.h> header file.  */
293 #define HAVE_PTHREAD_H 1
294 
295 /* Define if you have the <pwd.h> header file.  */
296 #define HAVE_PWD_H 1
297 
298 /* Define if you have the <regex.h> header file.  */
299 #define HAVE_REGEX_H 1
300 
301 /* Define if you have the <signal.h> header file.  */
302 #define HAVE_SIGNAL_H 1
303 
304 /* Define if you have the <string.h> header file.  */
305 #define HAVE_STRING_H 1
306 
307 /* Define if you have the <sys/mman.h> header file.  */
308 #define HAVE_SYS_MMAN_H 1
309 
310 /* Define if you have the <sys/stat.h> header file.  */
311 #define HAVE_SYS_STAT_H 1
312 
313 /* Define if you have the <sys/time.h> header file.  */
314 #define HAVE_SYS_TIME_H 1
315 
316 /* Define if you have the <sys/types.h> header file.  */
317 #define HAVE_SYS_TYPES_H 1
318 
319 /* Define if you have the <termcap.h> header file.  */
320 #define HAVE_TERMCAP_H 1
321 
322 /* Define if you have the <unistd.h> header file.  */
323 #define HAVE_UNISTD_H 1
324