Merged from silc_1_0_branch.
[silc.git] / win32 / silcdefs.h
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 #define SILC_SIZEOF_LONG_LONG 8
60 #define SILC_SIZEOF_LONG 4
61 #define SILC_SIZEOF_INT 4
62 #define SILC_SIZEOF_SHORT 2
63 #define SILC_SIZEOF_CHAR 1
64 #define SILC_SIZEOF_VOID_P 4
65
66 /* MP library */
67 /* #undef SILC_MP_GMP */
68 #define SILC_MP_NSS_MPI 1
69
70 /* Redefs for SOCKS5 library */
71 /* macros/curses checks */
72 /* #undef HAS_CURSES */
73 /* #undef USE_SUNOS_CURSES */
74 /* #undef USE_BSD_CURSES */
75 /* #undef USE_SYSV_CURSES */
76 /* #undef USE_NCURSES */
77 /* #undef NO_COLOR_CURSES */
78 /* #undef SCO_FLAVOR */
79
80 /* #undef SOCKS */
81 /* #undef SOCKS5 */
82 /* #undef Rconnect */
83 /* #undef Rgetsockname */
84 /* #undef Rgetpeername */
85 /* #undef Rbind */
86 /* #undef Raccept */  
87 /* #undef Rlisten */
88 /* #undef Rselect */
89 /* #undef Rrecvfrom */
90 /* #undef Rsendto */
91 /* #undef Rrecv */
92 /* #undef Rsend */
93 /* #undef Rread */
94 /* #undef Rwrite */
95 /* #undef Rrresvport */
96 /* #undef Rshutdown */
97 /* #undef Rlisten */
98 /* #undef Rclose */
99 /* #undef Rdup */
100 /* #undef Rdup2 */
101 /* #undef Rfclose */
102 /* #undef Rgethostbyname */
103
104 /* Native WIN32 compilation (-mno-cygwin GCC option) under cygwin, though
105    the code compiles with any native WIN32 compiler. */
106 #ifndef SILC_WIN32
107 #define SILC_WIN32 1
108 #endif
109
110 /* SILC distribution definitions (leave this at the end of file) */
111 #define SILC_DIST_TOOLKIT 1
112 /* #undef SILC_DIST_CLIENT */
113 /* #undef SILC_DIST_SERVER */
114 /* #undef SILC_DIST_WIN32DLL */
115
116 /* The number of bytes in a char.  */
117 #define SIZEOF_CHAR 1
118
119 /* The number of bytes in a int.  */
120 #define SIZEOF_INT 4
121
122 /* The number of bytes in a long.  */
123 #define SIZEOF_LONG 4
124
125 /* The number of bytes in a long long.  */
126 #define SIZEOF_LONG_LONG 8
127
128 /* The number of bytes in a short.  */
129 #define SIZEOF_SHORT 2
130
131 /* The number of bytes in a void *.  */
132 #define SIZEOF_VOID_P 4
133
134 /* Define if you have the bind function.  */
135 #define HAVE_BIND 1
136
137 /* Define if you have the chmod function.  */
138 #define HAVE_CHMOD 1
139
140 /* Define if you have the close function.  */
141 #define HAVE_CLOSE 1
142
143 /* Define if you have the connect function.  */
144 #define HAVE_CONNECT 1
145
146 /* Define if you have the ctime function.  */
147 #define HAVE_CTIME 1
148
149 /* Define if you have the fcntl function.  */
150 #define HAVE_FCNTL 1
151
152 /* Define if you have the fstat function.  */
153 #define HAVE_FSTAT 1
154
155 /* Define if you have the getenv function.  */
156 #define HAVE_GETENV 1
157
158 /* Define if you have the getgid function.  */
159 #define HAVE_GETGID 1
160
161 /* Define if you have the gethostbyaddr function.  */
162 #define HAVE_GETHOSTBYADDR 1
163
164 /* Define if you have the gethostname function.  */
165 #define HAVE_GETHOSTNAME 1
166
167 /* Define if you have the getopt_long function.  */
168 #define HAVE_GETOPT_LONG 1
169
170 /* Define if you have the getpgid function.  */
171 #define HAVE_GETPGID 1
172
173 /* Define if you have the getpgrp function.  */
174 #define HAVE_GETPGRP 1
175
176 /* Define if you have the getpid function.  */
177 #define HAVE_GETPID 1
178
179 /* Define if you have the getservbyname function.  */
180 #define HAVE_GETSERVBYNAME 1
181
182 /* Define if you have the getservbyport function.  */
183 #define HAVE_GETSERVBYPORT 1
184
185 /* Define if you have the getsid function.  */
186 /* #undef HAVE_GETSID */
187
188 /* Define if you have the gettimeofday function.  */
189 #define HAVE_GETTIMEOFDAY 1
190
191 /* Define if you have the getuid function.  */
192 #define HAVE_GETUID 1
193
194 /* Define if you have the listen function.  */
195 #define HAVE_LISTEN 1
196
197 /* Define if you have the memcpy function.  */
198 #define HAVE_MEMCPY 1
199
200 /* Define if you have the memmove function.  */
201 #define HAVE_MEMMOVE 1
202
203 /* Define if you have the memset function.  */
204 #define HAVE_MEMSET 1
205
206 /* Define if you have the mlock function.  */
207 /* #undef HAVE_MLOCK */
208
209 /* Define if you have the munlock function.  */
210 /* #undef HAVE_MUNLOCK */
211
212 /* Define if you have the pthread_create function.  */
213 #define HAVE_PTHREAD_CREATE 1
214
215 /* Define if you have the putenv function.  */
216 #define HAVE_PUTENV 1
217
218 /* Define if you have the select function.  */
219 #define HAVE_SELECT 1
220
221 /* Define if you have the setsockopt function.  */
222 #define HAVE_SETSOCKOPT 1
223
224 /* Define if you have the shutdown function.  */
225 #define HAVE_SHUTDOWN 1
226
227 /* Define if you have the stat function.  */
228 #define HAVE_STAT 1
229
230 /* Define if you have the strchr function.  */
231 #define HAVE_STRCHR 1
232
233 /* Define if you have the strcpy function.  */
234 #define HAVE_STRCPY 1
235
236 /* Define if you have the strerror function.  */
237 #define HAVE_STRERROR 1
238
239 /* Define if you have the strncpy function.  */
240 #define HAVE_STRNCPY 1
241
242 /* Define if you have the strstr function.  */
243 #define HAVE_STRSTR 1
244
245 /* Define if you have the time function.  */
246 #define HAVE_TIME 1
247
248 /* Define if you have the <arpa/inet.h> header file.  */
249 #define HAVE_ARPA_INET_H 1
250
251 /* Define if you have the <assert.h> header file.  */
252 #define HAVE_ASSERT_H 1
253
254 /* Define if you have the <ctype.h> header file.  */
255 #define HAVE_CTYPE_H 1
256
257 /* Define if you have the <dlfcn.h> header file.  */
258 #define HAVE_DLFCN_H 1
259
260 /* Define if you have the <errno.h> header file.  */
261 #define HAVE_ERRNO_H 1
262
263 /* Define if you have the <fcntl.h> header file.  */
264 #define HAVE_FCNTL_H 1
265
266 /* Define if you have the <getopt.h> header file.  */
267 #define HAVE_GETOPT_H 1
268
269 /* Define if you have the <grp.h> header file.  */
270 #define HAVE_GRP_H 1
271
272 /* Define if you have the <limits.h> header file.  */
273 #define HAVE_LIMITS_H 1
274
275 /* Define if you have the <ncurses.h> header file.  */
276 #define HAVE_NCURSES_H 1
277
278 /* Define if you have the <netdb.h> header file.  */
279 #define HAVE_NETDB_H 1
280
281 /* Define if you have the <netinet/in.h> header file.  */
282 #define HAVE_NETINET_IN_H 1
283
284 /* Define if you have the <netinet/tcp.h> header file.  */
285 #define HAVE_NETINET_TCP_H 1
286
287 /* Define if you have the <paths.h> header file.  */
288 #define HAVE_PATHS_H 1
289
290 /* Define if you have the <pthread.h> header file.  */
291 #define HAVE_PTHREAD_H 1
292
293 /* Define if you have the <pwd.h> header file.  */
294 #define HAVE_PWD_H 1
295
296 /* Define if you have the <regex.h> header file.  */
297 #define HAVE_REGEX_H 1
298
299 /* Define if you have the <signal.h> header file.  */
300 #define HAVE_SIGNAL_H 1
301
302 /* Define if you have the <string.h> header file.  */
303 #define HAVE_STRING_H 1
304
305 /* Define if you have the <sys/mman.h> header file.  */
306 #define HAVE_SYS_MMAN_H 1
307
308 /* Define if you have the <sys/stat.h> header file.  */
309 #define HAVE_SYS_STAT_H 1
310
311 /* Define if you have the <sys/time.h> header file.  */
312 #define HAVE_SYS_TIME_H 1
313
314 /* Define if you have the <sys/types.h> header file.  */
315 #define HAVE_SYS_TYPES_H 1
316
317 /* Define if you have the <termcap.h> header file.  */
318 #define HAVE_TERMCAP_H 1
319
320 /* Define if you have the <unistd.h> header file.  */
321 #define HAVE_UNISTD_H 1