updates
[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 #define SILC_WIN32 1
107
108 /* SILC distribution definitions (leave this at the end of file) */
109 #define SILC_DIST_TOOLKIT 1
110 /* #undef SILC_DIST_CLIENT */
111 /* #undef SILC_DIST_SERVER */
112 /* #undef SILC_DIST_WIN32DLL */
113
114 /* The number of bytes in a char.  */
115 #define SIZEOF_CHAR 1
116
117 /* The number of bytes in a int.  */
118 #define SIZEOF_INT 4
119
120 /* The number of bytes in a long.  */
121 #define SIZEOF_LONG 4
122
123 /* The number of bytes in a long long.  */
124 #define SIZEOF_LONG_LONG 8
125
126 /* The number of bytes in a short.  */
127 #define SIZEOF_SHORT 2
128
129 /* The number of bytes in a void *.  */
130 #define SIZEOF_VOID_P 4
131
132 /* Define if you have the bind function.  */
133 #define HAVE_BIND 1
134
135 /* Define if you have the chmod function.  */
136 #define HAVE_CHMOD 1
137
138 /* Define if you have the close function.  */
139 #define HAVE_CLOSE 1
140
141 /* Define if you have the connect function.  */
142 #define HAVE_CONNECT 1
143
144 /* Define if you have the ctime function.  */
145 #define HAVE_CTIME 1
146
147 /* Define if you have the fcntl function.  */
148 #define HAVE_FCNTL 1
149
150 /* Define if you have the fstat function.  */
151 #define HAVE_FSTAT 1
152
153 /* Define if you have the getenv function.  */
154 #define HAVE_GETENV 1
155
156 /* Define if you have the getgid function.  */
157 #define HAVE_GETGID 1
158
159 /* Define if you have the gethostbyaddr function.  */
160 #define HAVE_GETHOSTBYADDR 1
161
162 /* Define if you have the gethostname function.  */
163 #define HAVE_GETHOSTNAME 1
164
165 /* Define if you have the getopt_long function.  */
166 #define HAVE_GETOPT_LONG 1
167
168 /* Define if you have the getpgid function.  */
169 #define HAVE_GETPGID 1
170
171 /* Define if you have the getpgrp function.  */
172 #define HAVE_GETPGRP 1
173
174 /* Define if you have the getpid function.  */
175 #define HAVE_GETPID 1
176
177 /* Define if you have the getservbyname function.  */
178 #define HAVE_GETSERVBYNAME 1
179
180 /* Define if you have the getservbyport function.  */
181 #define HAVE_GETSERVBYPORT 1
182
183 /* Define if you have the getsid function.  */
184 /* #undef HAVE_GETSID */
185
186 /* Define if you have the gettimeofday function.  */
187 #define HAVE_GETTIMEOFDAY 1
188
189 /* Define if you have the getuid function.  */
190 #define HAVE_GETUID 1
191
192 /* Define if you have the listen function.  */
193 #define HAVE_LISTEN 1
194
195 /* Define if you have the memcpy function.  */
196 #define HAVE_MEMCPY 1
197
198 /* Define if you have the memmove function.  */
199 #define HAVE_MEMMOVE 1
200
201 /* Define if you have the memset function.  */
202 #define HAVE_MEMSET 1
203
204 /* Define if you have the mlock function.  */
205 /* #undef HAVE_MLOCK */
206
207 /* Define if you have the munlock function.  */
208 /* #undef HAVE_MUNLOCK */
209
210 /* Define if you have the pthread_create function.  */
211 #define HAVE_PTHREAD_CREATE 1
212
213 /* Define if you have the putenv function.  */
214 #define HAVE_PUTENV 1
215
216 /* Define if you have the select function.  */
217 #define HAVE_SELECT 1
218
219 /* Define if you have the setsockopt function.  */
220 #define HAVE_SETSOCKOPT 1
221
222 /* Define if you have the shutdown function.  */
223 #define HAVE_SHUTDOWN 1
224
225 /* Define if you have the stat function.  */
226 #define HAVE_STAT 1
227
228 /* Define if you have the strchr function.  */
229 #define HAVE_STRCHR 1
230
231 /* Define if you have the strcpy function.  */
232 #define HAVE_STRCPY 1
233
234 /* Define if you have the strerror function.  */
235 #define HAVE_STRERROR 1
236
237 /* Define if you have the strncpy function.  */
238 #define HAVE_STRNCPY 1
239
240 /* Define if you have the strstr function.  */
241 #define HAVE_STRSTR 1
242
243 /* Define if you have the time function.  */
244 #define HAVE_TIME 1
245
246 /* Define if you have the <arpa/inet.h> header file.  */
247 #define HAVE_ARPA_INET_H 1
248
249 /* Define if you have the <assert.h> header file.  */
250 #define HAVE_ASSERT_H 1
251
252 /* Define if you have the <ctype.h> header file.  */
253 #define HAVE_CTYPE_H 1
254
255 /* Define if you have the <dlfcn.h> header file.  */
256 #define HAVE_DLFCN_H 1
257
258 /* Define if you have the <errno.h> header file.  */
259 #define HAVE_ERRNO_H 1
260
261 /* Define if you have the <fcntl.h> header file.  */
262 #define HAVE_FCNTL_H 1
263
264 /* Define if you have the <getopt.h> header file.  */
265 #define HAVE_GETOPT_H 1
266
267 /* Define if you have the <grp.h> header file.  */
268 #define HAVE_GRP_H 1
269
270 /* Define if you have the <limits.h> header file.  */
271 #define HAVE_LIMITS_H 1
272
273 /* Define if you have the <ncurses.h> header file.  */
274 #define HAVE_NCURSES_H 1
275
276 /* Define if you have the <netdb.h> header file.  */
277 #define HAVE_NETDB_H 1
278
279 /* Define if you have the <netinet/in.h> header file.  */
280 #define HAVE_NETINET_IN_H 1
281
282 /* Define if you have the <netinet/tcp.h> header file.  */
283 #define HAVE_NETINET_TCP_H 1
284
285 /* Define if you have the <paths.h> header file.  */
286 #define HAVE_PATHS_H 1
287
288 /* Define if you have the <pthread.h> header file.  */
289 #define HAVE_PTHREAD_H 1
290
291 /* Define if you have the <pwd.h> header file.  */
292 #define HAVE_PWD_H 1
293
294 /* Define if you have the <regex.h> header file.  */
295 #define HAVE_REGEX_H 1
296
297 /* Define if you have the <signal.h> header file.  */
298 #define HAVE_SIGNAL_H 1
299
300 /* Define if you have the <string.h> header file.  */
301 #define HAVE_STRING_H 1
302
303 /* Define if you have the <sys/mman.h> header file.  */
304 #define HAVE_SYS_MMAN_H 1
305
306 /* Define if you have the <sys/stat.h> header file.  */
307 #define HAVE_SYS_STAT_H 1
308
309 /* Define if you have the <sys/time.h> header file.  */
310 #define HAVE_SYS_TIME_H 1
311
312 /* Define if you have the <sys/types.h> header file.  */
313 #define HAVE_SYS_TYPES_H 1
314
315 /* Define if you have the <termcap.h> header file.  */
316 #define HAVE_TERMCAP_H 1
317
318 /* Define if you have the <unistd.h> header file.  */
319 #define HAVE_UNISTD_H 1