fix: socklen_t definition comment
[platform/upstream/curl.git] / lib / config-os400.h
1 /* ================================================================ */
2 /*    lib/config-os400.h - Hand crafted config file for OS/400      */
3 /* ================================================================ */
4
5 #pragma enum(int)
6
7 #undef PACKAGE
8
9 /* Version number of this archive. */
10 #undef VERSION
11
12 /* Define if you have the getpass function.  */
13 #undef HAVE_GETPASS
14
15 /* Define cpu-machine-OS */
16 #define OS "OS/400"
17
18 /* Define if you have the gethostbyaddr_r() function with 5 arguments */
19 #define HAVE_GETHOSTBYADDR_R_5
20
21 /* Define if you have the gethostbyaddr_r() function with 7 arguments */
22 #undef HAVE_GETHOSTBYADDR_R_7
23
24 /* Define if you have the gethostbyaddr_r() function with 8 arguments */
25 #undef HAVE_GETHOSTBYADDR_R_8
26
27 /* Define if you have the gethostbyname_r() function with 3 arguments */
28 #define HAVE_GETHOSTBYNAME_R_3
29
30 /* Define if you have the gethostbyname_r() function with 5 arguments */
31 #undef HAVE_GETHOSTBYNAME_R_5
32
33 /* Define if you have the gethostbyname_r() function with 6 arguments */
34 #undef HAVE_GETHOSTBYNAME_R_6
35
36 /* Define if you have the inet_ntoa_r function declared. */
37 #define HAVE_INET_NTOA_R_DECL
38
39 /* Define if the inet_ntoa_r function returns an int. */
40 #define HAVE_INT_INET_NTOA_R
41
42 /* Define if you need the _REENTRANT define for some functions */
43 #undef NEED_REENTRANT
44
45 /* Define if you have the Kerberos4 libraries (including -ldes) */
46 #undef HAVE_KRB4
47
48 /* Define if you want to enable IPv6 support */
49 #define ENABLE_IPV6
50
51 /* Define this to 'int' if ssize_t is not an available typedefed type */
52 #undef ssize_t
53
54 /* Type to use in place of socklen_t when system does not provide it. */
55 #undef socklen_t
56
57 /* Define this as a suitable file to read random data from */
58 #undef RANDOM_FILE
59
60 /* Define this to your Entropy Gathering Daemon socket pathname */
61 #undef EGD_SOCKET
62
63 /* Set to explicitly specify we don't want to use thread-safe functions */
64 #undef DISABLED_THREADSAFE
65
66 /* Define if you have the <alloca.h> header file. */
67 #undef HAVE_ALLOCA_H
68
69 /* Define if you have the <arpa/inet.h> header file. */
70 #define HAVE_ARPA_INET_H
71
72 /* Define if you have the `closesocket' function. */
73 #undef HAVE_CLOSESOCKET
74
75 /* Define if you have the <crypto.h> header file. */
76 #undef HAVE_CRYPTO_H
77
78 /* Define if you have the <des.h> header file. */
79 #undef HAVE_DES_H
80
81 /* Define if you have the <err.h> header file. */
82 #undef HAVE_ERR_H
83
84 /* Define if you have the <fcntl.h> header file. */
85 #define HAVE_FCNTL_H
86
87 /* Define if getaddrinfo exists and works */
88 /* OS400 has no ASCII version of this procedure. */
89 #undef HAVE_GETADDRINFO
90
91 /* Define if you have the `geteuid' function. */
92 #define HAVE_GETEUID
93
94 /* Define if you have the `gethostbyaddr' function. */
95 #define HAVE_GETHOSTBYADDR
96
97 /* Define if you have the `gethostbyaddr_r' function. */
98 #define HAVE_GETHOSTBYADDR_R
99
100 /* Define if you have the `gethostbyname_r' function. */
101 #define HAVE_GETHOSTBYNAME_R
102
103 /* Define if you have the `gethostname' function. */
104 #define HAVE_GETHOSTNAME
105
106 /* Define if you have the <getopt.h> header file. */
107 #undef HAVE_GETOPT_H
108
109 /* Define if you have the `getpass_r' function. */
110 #undef HAVE_GETPASS_R
111
112 /* Define if you have the `getpwuid' function. */
113 #define HAVE_GETPWUID
114
115 /* Define if you have the `getservbyname' function. */
116 #define HAVE_GETSERVBYNAME
117
118 /* Define if you have the `gettimeofday' function. */
119 #define HAVE_GETTIMEOFDAY
120
121 /* Define if you have the `timeval' struct. */
122 #define HAVE_STRUCT_TIMEVAL
123
124 /* Define if you have the `inet_addr' function. */
125 #define HAVE_INET_ADDR
126
127 /* Define if you have the `inet_ntoa' function. */
128 #define HAVE_INET_NTOA
129
130 /* Define if you have the `inet_ntoa_r' function. */
131 #define HAVE_INET_NTOA_R
132
133 /* Define if you have the <inttypes.h> header file. */
134 #define HAVE_INTTYPES_H
135
136 /* Define if you have the <io.h> header file. */
137 #undef HAVE_IO_H
138
139 /* Define if you have the `krb_get_our_ip_for_realm' function. */
140 #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
141
142 /* Define if you have the <krb.h> header file. */
143 #undef HAVE_KRB_H
144
145 /* Define if you have the `crypto' library (-lcrypto). */
146 #undef HAVE_LIBCRYPTO
147
148 /* Define if you have the `nsl' library (-lnsl). */
149 #undef HAVE_LIBNSL
150
151 /* Define if you have the `resolv' library (-lresolv). */
152 #undef HAVE_LIBRESOLV
153
154 /* Define if you have the `resolve' library (-lresolve). */
155 #undef HAVE_LIBRESOLVE
156
157 /* Define if you have the `socket' library (-lsocket). */
158 #undef HAVE_LIBSOCKET
159
160 /* Define if you have the `ssl' library (-lssl). */
161 #undef HAVE_LIBSSL
162
163 /* Define if you have GSS API. */
164 #define HAVE_GSSAPI
165
166 /* Define if you have the `ucb' library (-lucb). */
167 #undef HAVE_LIBUCB
168
169 /* Define if you have the `localtime_r' function. */
170 #define HAVE_LOCALTIME_R
171
172 /* Define if you have the <malloc.h> header file. */
173 #define HAVE_MALLOC_H
174
175 /* Define if you need the malloc.h header file even with stdlib.h  */
176 /* #define NEED_MALLOC_H 1 */
177
178 /* Define if you have the <memory.h> header file. */
179 #undef HAVE_MEMORY_H
180
181 /* Define if you have the <netdb.h> header file. */
182 #define HAVE_NETDB_H
183
184 /* Define if you have the <netinet/if_ether.h> header file. */
185 #undef HAVE_NETINET_IF_ETHER_H
186
187 /* Define if you have the <netinet/in.h> header file. */
188 #define HAVE_NETINET_IN_H
189
190 /* Define if you have the <net/if.h> header file. */
191 #define HAVE_NET_IF_H
192
193 /* Define if you have the <openssl/crypto.h> header file. */
194 #undef HAVE_OPENSSL_CRYPTO_H
195
196 /* Define if you have the <openssl/err.h> header file. */
197 #undef HAVE_OPENSSL_ERR_H
198
199 /* Define if you have the <openssl/pem.h> header file. */
200 #undef HAVE_OPENSSL_PEM_H
201
202 /* Define if you have the <openssl/rsa.h> header file. */
203 #undef HAVE_OPENSSL_RSA_H
204
205 /* Define if you have the <openssl/ssl.h> header file. */
206 #undef HAVE_OPENSSL_SSL_H
207
208 /* Define if you have the <openssl/x509.h> header file. */
209 #undef HAVE_OPENSSL_X509_H
210
211 /* Define if you have the <pem.h> header file. */
212 #undef HAVE_PEM_H
213
214 /* Define if you have the `perror' function. */
215 #define HAVE_PERROR
216
217 /* Define if you have the <pwd.h> header file. */
218 #define HAVE_PWD_H
219
220 /* Define if you have the `RAND_egd' function. */
221 #undef HAVE_RAND_EGD
222
223 /* Define if you have the `RAND_screen' function. */
224 #undef HAVE_RAND_SCREEN
225
226 /* Define if you have the `RAND_status' function. */
227 #undef HAVE_RAND_STATUS
228
229 /* Define if you have the <rsa.h> header file. */
230 #undef HAVE_RSA_H
231
232 /* Define if you have the `select' function. */
233 #define HAVE_SELECT
234
235 /* Define if you have the `setvbuf' function. */
236 #define HAVE_SETVBUF
237
238 /* Define if you have the <sgtty.h> header file. */
239 #undef HAVE_SGTTY_H
240
241 /* Define if you have the `sigaction' function. */
242 #define HAVE_SIGACTION
243
244 /* Define if you have the `signal' function. */
245 #undef HAVE_SIGNAL
246
247 /* Define if you have the <signal.h> header file. */
248 #define HAVE_SIGNAL_H
249
250 /* Define if sig_atomic_t is an available typedef. */
251 #define HAVE_SIG_ATOMIC_T
252
253 /* Define if sig_atomic_t is already defined as volatile. */
254 #undef HAVE_SIG_ATOMIC_T_VOLATILE
255
256 /* Define if you have the `socket' function. */
257 #define HAVE_SOCKET
258
259 /* Define if you have the <ssl.h> header file. */
260 #undef HAVE_SSL_H
261
262 /* Define if you have the <stdint.h> header file. */
263 #undef HAVE_STDINT_H
264
265 /* Define if you have the <stdlib.h> header file. */
266 #define HAVE_STDLIB_H
267
268 /* Define if you have the `strcasecmp' function. */
269 #undef HAVE_STRCASECMP
270
271 /* Define if you have the `strcmpi' function. */
272 #undef HAVE_STRCMPI
273
274 /* Define if you have the `strdup' function. */
275 #undef HAVE_STRDUP
276
277 /* Define if you have the `strftime' function. */
278 #define HAVE_STRFTIME
279
280 /* Define if you have the `stricmp' function. */
281 #undef HAVE_STRICMP
282
283 /* Define if you have the <strings.h> header file. */
284 #define HAVE_STRINGS_H
285
286 /* Define if you have the <string.h> header file. */
287 #define HAVE_STRING_H
288
289 /* Define if you have the `strlcat' function. */
290 #undef HAVE_STRLCAT
291
292 /* Define if you have the `strlcpy' function. */
293 #undef HAVE_STRLCPY
294
295 /* Define if you have the `strstr' function. */
296 #define HAVE_STRSTR
297
298 /* Define if you have the `strtok_r' function. */
299 #define HAVE_STRTOK_R
300
301 /* Define if you have the `strtoll' function. */
302 #undef HAVE_STRTOLL             /* Allows ASCII compile on V5R1. */
303
304 /* Define if you have the <sys/param.h> header file. */
305 #define HAVE_SYS_PARAM_H
306
307 /* Define if you have the <sys/select.h> header file. */
308 #undef HAVE_SYS_SELECT_H
309
310 /* Define if you have the <sys/socket.h> header file. */
311 #define HAVE_SYS_SOCKET_H
312
313 /* Define if you have the <sys/sockio.h> header file. */
314 #undef HAVE_SYS_SOCKIO_H
315
316 /* Define if you have the <sys/stat.h> header file. */
317 #define HAVE_SYS_STAT_H
318
319 /* Define if you have the <sys/time.h> header file. */
320 #define HAVE_SYS_TIME_H
321
322 /* Define if you have the <sys/types.h> header file. */
323 #define HAVE_SYS_TYPES_H
324
325 /* Define if you have the <sys/un.h> header file. */
326 #define HAVE_SYS_UN_H
327
328 /* Define if you have the <sys/ioctl.h> header file. */
329 #define HAVE_SYS_IOCTL_H
330
331 /* Define if you have the `tcgetattr' function. */
332 #undef HAVE_TCGETATTR
333
334 /* Define if you have the `tcsetattr' function. */
335 #undef HAVE_TCSETATTR
336
337 /* Define if you have the <termios.h> header file. */
338 #undef HAVE_TERMIOS_H
339
340 /* Define if you have the <termio.h> header file. */
341 #undef HAVE_TERMIO_H
342
343 /* Define if you have the <time.h> header file. */
344 #define HAVE_TIME_H
345
346 /* Define if you have the `uname' function. */
347 #undef HAVE_UNAME
348
349 /* Define if you have the <unistd.h> header file. */
350 #define HAVE_UNISTD_H
351
352 /* Define if you have the <winsock.h> header file. */
353 #undef HAVE_WINSOCK_H
354
355 /* Define if you have the <x509.h> header file. */
356 #undef HAVE_X509_H
357
358 /* Name of package */
359 #undef PACKAGE
360
361 /* Define as the return type of signal handlers (`int' or `void'). */
362 #define RETSIGTYPE void
363
364 /* The size of a `long double', as computed by sizeof. */
365 #define SIZEOF_LONG_DOUBLE      8
366
367 /* Define if 64 bit integers are supported. */
368 #define HAVE_LONGLONG
369
370 /* The size of a `long long', as computed by sizeof. */
371 #define SIZEOF_LONG_LONG        8
372
373 /* Whether long long constants must be suffixed by LL. */
374
375 #define HAVE_LL
376
377 /* The size of `curl_off_t', as computed by sizeof. */
378
379 #ifndef _LARGE_FILES
380 #define _LARGE_FILES
381 #endif
382
383 #define SIZEOF_CURL_OFF_T 8
384
385 /* Define this if you have struct sockaddr_storage */
386 #define HAVE_STRUCT_SOCKADDR_STORAGE
387
388 /* Define if you have the ANSI C header files. */
389 #define STDC_HEADERS
390
391 /* Define if you can safely include both <sys/time.h> and <time.h>. */
392 #define TIME_WITH_SYS_TIME
393
394 /* Version number of package */
395 #undef VERSION
396
397 /* Number of bits in a file offset, on hosts where this is settable. */
398 #undef _FILE_OFFSET_BITS
399
400 /* Define for large files, on AIX-style hosts. */
401 #undef _LARGE_FILES
402
403 /* Define to empty if `const' does not conform to ANSI C. */
404 #undef const
405
406 /* type to use in place of in_addr_t if not defined */
407 #define in_addr_t       unsigned long
408
409 /* Define to `unsigned' if <sys/types.h> does not define. */
410 #undef size_t
411
412 #define IOCTL_3_ARGS
413
414 #define HAVE_FIONBIO
415
416 /* to disable LDAP */
417 #undef CURL_DISABLE_LDAP
418
419 /* Define if you have the ldap_url_parse procedure. */
420 /* #define HAVE_LDAP_URL_PARSE */    /* Disabled because of an IBM bug. */
421
422 /* Define if you have the getnameinfo function. */
423 /* OS400 has no ASCII version of this procedure. */
424 #undef HAVE_GETNAMEINFO
425
426 /* Define to the type qualifier of arg 1 for getnameinfo. */
427 #define GETNAMEINFO_QUAL_ARG1 const
428
429 /* Define to the type of arg 1 for getnameinfo. */
430 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
431
432 /* Define to the type of arg 2 for getnameinfo. */
433 #define GETNAMEINFO_TYPE_ARG2 socklen_t
434
435 /* Define to the type of args 4 and 6 for getnameinfo. */
436 #define GETNAMEINFO_TYPE_ARG46 socklen_t
437
438 /* Define to the type of arg 7 for getnameinfo. */
439 #define GETNAMEINFO_TYPE_ARG7 int
440
441 /* Define if you have the recv function. */
442 #define HAVE_RECV
443
444 /* Define to the type of arg 1 for recv. */
445 #define RECV_TYPE_ARG1 int
446
447 /* Define to the type of arg 2 for recv. */
448 #define RECV_TYPE_ARG2 char *
449
450 /* Define to the type of arg 3 for recv. */
451 #define RECV_TYPE_ARG3 int
452
453 /* Define to the type of arg 4 for recv. */
454 #define RECV_TYPE_ARG4 int
455
456 /* Define to the function return type for recv. */
457 #define RECV_TYPE_RETV int
458
459 /* Define if you have the send function. */
460 #define HAVE_SEND
461
462 /* Define to the type of arg 1 for send. */
463 #define SEND_TYPE_ARG1 int
464
465 /* Define to the type qualifier of arg 2 for send. */
466 #define SEND_QUAL_ARG2
467
468 /* Define to the type of arg 2 for send. */
469 #define SEND_TYPE_ARG2 char *
470
471 /* Define to the type of arg 3 for send. */
472 #define SEND_TYPE_ARG3 int
473
474 /* Define to the type of arg 4 for send. */
475 #define SEND_TYPE_ARG4 int
476
477 /* Define to the function return type for send. */
478 #define SEND_TYPE_RETV int
479
480 /* Define to use the QsoSSL package. */
481 #define USE_QSOSSL
482
483 /* Use the system keyring as the default CA bundle. */
484 #define CURL_CA_BUNDLE  "/QIBM/UserData/ICSS/Cert/Server/DEFAULT.KDB"