1/* ================================================================ */ 2/* lib/config-os400.h - Hand crafted config file for OS/400 */ 3/* ================================================================ */ 4/*************************************************************************** 5 * _ _ ____ _ 6 * Project ___| | | | _ \| | 7 * / __| | | | |_) | | 8 * | (__| |_| | _ <| |___ 9 * \___|\___/|_| \_\_____| 10 * 11 * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. 12 * 13 * This software is licensed as described in the file COPYING, which 14 * you should have received as part of this distribution. The terms 15 * are also available at http://curl.haxx.se/docs/copyright.html. 16 * 17 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 18 * copies of the Software, and permit persons to whom the Software is 19 * furnished to do so, under the terms of the COPYING file. 20 * 21 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 22 * KIND, either express or implied. 23 * 24 ***************************************************************************/ 25 26#pragma enum(int) 27 28#undef PACKAGE 29 30/* Version number of this archive. */ 31#undef VERSION 32 33/* Define if you have the getpass function. */ 34#undef HAVE_GETPASS 35 36/* Define cpu-machine-OS */ 37#define OS "OS/400" 38 39/* Define if you have the gethostbyaddr_r() function with 5 arguments */ 40#define HAVE_GETHOSTBYADDR_R_5 41 42/* Define if you have the gethostbyaddr_r() function with 7 arguments */ 43#undef HAVE_GETHOSTBYADDR_R_7 44 45/* Define if you have the gethostbyaddr_r() function with 8 arguments */ 46#undef HAVE_GETHOSTBYADDR_R_8 47 48/* OS400 supports a 3-argument ASCII version of gethostbyaddr_r(), but its 49 * prototype is incompatible with the "standard" one (1st argument is not 50 * const). However, getaddrinfo() is supported (ASCII version defined as 51 * a local wrapper in setup-os400.h) in a threadsafe way: we can then 52 * configure getaddrinfo() as such and get rid of gethostbyname_r() without 53 * loss of threadsafeness. */ 54#undef HAVE_GETHOSTBYNAME_R 55#undef HAVE_GETHOSTBYNAME_R_3 56#undef HAVE_GETHOSTBYNAME_R_5 57#undef HAVE_GETHOSTBYNAME_R_6 58#define HAVE_GETADDRINFO 59#define HAVE_GETADDRINFO_THREADSAFE 60 61/* Define if you need the _REENTRANT define for some functions */ 62#undef NEED_REENTRANT 63 64/* Define if you have the Kerberos4 libraries (including -ldes) */ 65#undef HAVE_KRB4 66 67/* Define if you want to enable IPv6 support */ 68#define ENABLE_IPV6 69 70/* Define if struct sockaddr_in6 has the sin6_scope_id member */ 71#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 72 73/* Define this to 'int' if ssize_t is not an available typedefed type */ 74#undef ssize_t 75 76/* Define this as a suitable file to read random data from */ 77#undef RANDOM_FILE 78 79/* Define this to your Entropy Gathering Daemon socket pathname */ 80#undef EGD_SOCKET 81 82/* Define to 1 if you have the alarm function. */ 83#define HAVE_ALARM 1 84 85/* Define if you have the <alloca.h> header file. */ 86#undef HAVE_ALLOCA_H 87 88/* Define if you have the <arpa/inet.h> header file. */ 89#define HAVE_ARPA_INET_H 90 91/* Define if you have the `closesocket' function. */ 92#undef HAVE_CLOSESOCKET 93 94/* Define if you have the <crypto.h> header file. */ 95#undef HAVE_CRYPTO_H 96 97/* Define if you have the <des.h> header file. */ 98#undef HAVE_DES_H 99 100/* Define if you have the <err.h> header file. */ 101#undef HAVE_ERR_H 102 103/* Define if you have the <fcntl.h> header file. */ 104#define HAVE_FCNTL_H 105 106/* Define if you have the `geteuid' function. */ 107#define HAVE_GETEUID 108 109/* Define if you have the `gethostbyaddr' function. */ 110#define HAVE_GETHOSTBYADDR 111 112/* Define if you have the `gethostbyaddr_r' function. */ 113#define HAVE_GETHOSTBYADDR_R 114 115/* Define if you have the `gethostname' function. */ 116#define HAVE_GETHOSTNAME 117 118/* Define if you have the <getopt.h> header file. */ 119#undef HAVE_GETOPT_H 120 121/* Define if you have the `getpass_r' function. */ 122#undef HAVE_GETPASS_R 123 124/* Define if you have the `getpwuid' function. */ 125#define HAVE_GETPWUID 126 127/* Define if you have the `getservbyname' function. */ 128#define HAVE_GETSERVBYNAME 129 130/* Define if you have the `gettimeofday' function. */ 131#define HAVE_GETTIMEOFDAY 132 133/* Define if you have the `timeval' struct. */ 134#define HAVE_STRUCT_TIMEVAL 135 136/* Define if you have the `inet_addr' function. */ 137#define HAVE_INET_ADDR 138 139/* Define if you have the <inttypes.h> header file. */ 140#define HAVE_INTTYPES_H 141 142/* Define if you have the <io.h> header file. */ 143#undef HAVE_IO_H 144 145/* Define if you have the `krb_get_our_ip_for_realm' function. */ 146#undef HAVE_KRB_GET_OUR_IP_FOR_REALM 147 148/* Define if you have the <krb.h> header file. */ 149#undef HAVE_KRB_H 150 151/* Define if you have the `crypto' library (-lcrypto). */ 152#undef HAVE_LIBCRYPTO 153 154/* Define if you have the `nsl' library (-lnsl). */ 155#undef HAVE_LIBNSL 156 157/* Define if you have the `resolv' library (-lresolv). */ 158#undef HAVE_LIBRESOLV 159 160/* Define if you have the `resolve' library (-lresolve). */ 161#undef HAVE_LIBRESOLVE 162 163/* Define if you have the `socket' library (-lsocket). */ 164#undef HAVE_LIBSOCKET 165 166/* Define if you have the `ssl' library (-lssl). */ 167#undef HAVE_LIBSSL 168 169/* Define if you have GSS API. */ 170#define HAVE_GSSAPI 171 172/* Define if you have the `ucb' library (-lucb). */ 173#undef HAVE_LIBUCB 174 175/* Define if you have the `localtime_r' function. */ 176#define HAVE_LOCALTIME_R 177 178/* Define if you have the <malloc.h> header file. */ 179#define HAVE_MALLOC_H 180 181/* Define if you need the malloc.h header file even with stdlib.h */ 182/* #define NEED_MALLOC_H 1 */ 183 184/* Define if you have the <memory.h> header file. */ 185#undef HAVE_MEMORY_H 186 187/* Define if you have the <netdb.h> header file. */ 188#define HAVE_NETDB_H 189 190/* Define if you have the <netinet/if_ether.h> header file. */ 191#undef HAVE_NETINET_IF_ETHER_H 192 193/* Define if you have the <netinet/in.h> header file. */ 194#define HAVE_NETINET_IN_H 195 196/* Define if you have the <net/if.h> header file. */ 197#define HAVE_NET_IF_H 198 199/* Define if you have the <openssl/crypto.h> header file. */ 200#undef HAVE_OPENSSL_CRYPTO_H 201 202/* Define if you have the <openssl/err.h> header file. */ 203#undef HAVE_OPENSSL_ERR_H 204 205/* Define if you have the <openssl/pem.h> header file. */ 206#undef HAVE_OPENSSL_PEM_H 207 208/* Define if you have the <openssl/rsa.h> header file. */ 209#undef HAVE_OPENSSL_RSA_H 210 211/* Define if you have the <openssl/ssl.h> header file. */ 212#undef HAVE_OPENSSL_SSL_H 213 214/* Define if you have the <openssl/x509.h> header file. */ 215#undef HAVE_OPENSSL_X509_H 216 217/* Define if you have the <pem.h> header file. */ 218#undef HAVE_PEM_H 219 220/* Define if you have the `perror' function. */ 221#define HAVE_PERROR 222 223/* Define if you have the <pwd.h> header file. */ 224#define HAVE_PWD_H 225 226/* Define if you have the `RAND_egd' function. */ 227#undef HAVE_RAND_EGD 228 229/* Define if you have the `RAND_screen' function. */ 230#undef HAVE_RAND_SCREEN 231 232/* Define if you have the `RAND_status' function. */ 233#undef HAVE_RAND_STATUS 234 235/* Define if you have the <rsa.h> header file. */ 236#undef HAVE_RSA_H 237 238/* Define if you have the `select' function. */ 239#define HAVE_SELECT 240 241/* Define if you have the `setvbuf' function. */ 242#define HAVE_SETVBUF 243 244/* Define if you have the <sgtty.h> header file. */ 245#undef HAVE_SGTTY_H 246 247/* Define if you have the `sigaction' function. */ 248#define HAVE_SIGACTION 249 250/* Define if you have the `signal' function. */ 251#undef HAVE_SIGNAL 252 253/* Define if you have the <signal.h> header file. */ 254#define HAVE_SIGNAL_H 255 256/* Define if sig_atomic_t is an available typedef. */ 257#define HAVE_SIG_ATOMIC_T 258 259/* Define if sig_atomic_t is already defined as volatile. */ 260#undef HAVE_SIG_ATOMIC_T_VOLATILE 261 262/* Define if you have the `socket' function. */ 263#define HAVE_SOCKET 264 265/* Define if you have the <ssl.h> header file. */ 266#undef HAVE_SSL_H 267 268/* Define if you have the <stdint.h> header file. */ 269#undef HAVE_STDINT_H 270 271/* Define if you have the <stdlib.h> header file. */ 272#define HAVE_STDLIB_H 273 274/* Define if you have the `strcasecmp' function. */ 275#undef HAVE_STRCASECMP 276 277/* Define if you have the `strcmpi' function. */ 278#undef HAVE_STRCMPI 279 280/* Define if you have the `strdup' function. */ 281#undef HAVE_STRDUP 282 283/* Define if you have the `strftime' function. */ 284#define HAVE_STRFTIME 285 286/* Define if you have the `stricmp' function. */ 287#undef HAVE_STRICMP 288 289/* Define if you have the <strings.h> header file. */ 290#define HAVE_STRINGS_H 291 292/* Define if you have the <string.h> header file. */ 293#define HAVE_STRING_H 294 295/* Define if you have the `strlcat' function. */ 296#undef HAVE_STRLCAT 297 298/* Define if you have the `strlcpy' function. */ 299#undef HAVE_STRLCPY 300 301/* Define if you have the <stropts.h> header file. */ 302#undef HAVE_STROPTS_H 303 304/* Define if you have the `strstr' function. */ 305#define HAVE_STRSTR 306 307/* Define if you have the `strtok_r' function. */ 308#define HAVE_STRTOK_R 309 310/* Define if you have the `strtoll' function. */ 311#undef HAVE_STRTOLL /* Allows ASCII compile on V5R1. */ 312 313/* Define if you have the <sys/param.h> header file. */ 314#define HAVE_SYS_PARAM_H 315 316/* Define if you have the <sys/select.h> header file. */ 317#undef HAVE_SYS_SELECT_H 318 319/* Define if you have the <sys/socket.h> header file. */ 320#define HAVE_SYS_SOCKET_H 321 322/* Define if you have the <sys/sockio.h> header file. */ 323#undef HAVE_SYS_SOCKIO_H 324 325/* Define if you have the <sys/stat.h> header file. */ 326#define HAVE_SYS_STAT_H 327 328/* Define if you have the <sys/time.h> header file. */ 329#define HAVE_SYS_TIME_H 330 331/* Define if you have the <sys/types.h> header file. */ 332#define HAVE_SYS_TYPES_H 333 334/* Define if you have the <sys/un.h> header file. */ 335#define HAVE_SYS_UN_H 336 337/* Define if you have the <sys/ioctl.h> header file. */ 338#define HAVE_SYS_IOCTL_H 339 340/* Define if you have the `tcgetattr' function. */ 341#undef HAVE_TCGETATTR 342 343/* Define if you have the `tcsetattr' function. */ 344#undef HAVE_TCSETATTR 345 346/* Define if you have the <termios.h> header file. */ 347#undef HAVE_TERMIOS_H 348 349/* Define if you have the <termio.h> header file. */ 350#undef HAVE_TERMIO_H 351 352/* Define if you have the <time.h> header file. */ 353#define HAVE_TIME_H 354 355/* Define if you have the `uname' function. */ 356#undef HAVE_UNAME 357 358/* Define if you have the <unistd.h> header file. */ 359#define HAVE_UNISTD_H 360 361/* Define if you have the <winsock.h> header file. */ 362#undef HAVE_WINSOCK_H 363 364/* Define if you have the <x509.h> header file. */ 365#undef HAVE_X509_H 366 367/* Name of package */ 368#undef PACKAGE 369 370/* Define as the return type of signal handlers (`int' or `void'). */ 371#define RETSIGTYPE void 372 373/* The size of `int', as computed by sizeof. */ 374#define SIZEOF_INT 4 375 376/* The size of a `long double', as computed by sizeof. */ 377#define SIZEOF_LONG_DOUBLE 8 378 379/* Define if the compiler supports the 'long long' data type. */ 380#define HAVE_LONGLONG 381 382/* The size of a `long long', as computed by sizeof. */ 383#define SIZEOF_LONG_LONG 8 384 385/* The size of `short', as computed by sizeof. */ 386#define SIZEOF_SHORT 2 387 388/* The size of `size_t', as computed by sizeof. */ 389#define SIZEOF_SIZE_T 8 390 391/* Whether long long constants must be suffixed by LL. */ 392 393#define HAVE_LL 394 395/* Define this if you have struct sockaddr_storage */ 396#define HAVE_STRUCT_SOCKADDR_STORAGE 397 398/* Define if you have the ANSI C header files. */ 399#define STDC_HEADERS 400 401/* Define if you can safely include both <sys/time.h> and <time.h>. */ 402#define TIME_WITH_SYS_TIME 403 404/* Version number of package */ 405#undef VERSION 406 407/* Number of bits in a file offset, on hosts where this is settable. */ 408#undef _FILE_OFFSET_BITS 409 410/* Define for large files, on AIX-style hosts. */ 411#define _LARGE_FILES 412 413/* Define to empty if `const' does not conform to ANSI C. */ 414#undef const 415 416/* type to use in place of in_addr_t if not defined */ 417#define in_addr_t unsigned long 418 419/* Define to `unsigned' if <sys/types.h> does not define. */ 420#undef size_t 421 422/* Define if you have the ioctl function. */ 423#define HAVE_IOCTL 424 425/* Define if you have a working ioctl FIONBIO function. */ 426#define HAVE_IOCTL_FIONBIO 427 428/* Define if you have a working ioctl SIOCGIFADDR function. */ 429#define HAVE_IOCTL_SIOCGIFADDR 430 431/* To disable LDAP */ 432#undef CURL_DISABLE_LDAP 433 434/* To avoid external use of library hidden symbols */ 435#define CURL_HIDDEN_SYMBOLS 436 437/* External symbols need no special keyword. */ 438#define CURL_EXTERN_SYMBOL 439 440/* Define if you have the ldap_url_parse procedure. */ 441/* #define HAVE_LDAP_URL_PARSE */ /* Disabled because of an IBM bug. */ 442 443/* Define if you have the getnameinfo function. */ 444/* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */ 445#define HAVE_GETNAMEINFO 446 447/* Define to the type qualifier of arg 1 for getnameinfo. */ 448#define GETNAMEINFO_QUAL_ARG1 const 449 450/* Define to the type of arg 1 for getnameinfo. */ 451#define GETNAMEINFO_TYPE_ARG1 struct sockaddr * 452 453/* Define to the type of arg 2 for getnameinfo. */ 454#define GETNAMEINFO_TYPE_ARG2 socklen_t 455 456/* Define to the type of args 4 and 6 for getnameinfo. */ 457#define GETNAMEINFO_TYPE_ARG46 socklen_t 458 459/* Define to the type of arg 7 for getnameinfo. */ 460#define GETNAMEINFO_TYPE_ARG7 int 461 462/* Define if you have the recv function. */ 463#define HAVE_RECV 464 465/* Define to the type of arg 1 for recv. */ 466#define RECV_TYPE_ARG1 int 467 468/* Define to the type of arg 2 for recv. */ 469#define RECV_TYPE_ARG2 char * 470 471/* Define to the type of arg 3 for recv. */ 472#define RECV_TYPE_ARG3 int 473 474/* Define to the type of arg 4 for recv. */ 475#define RECV_TYPE_ARG4 int 476 477/* Define to the function return type for recv. */ 478#define RECV_TYPE_RETV int 479 480/* Define if you have the recvfrom function. */ 481#define HAVE_RECVFROM 482 483/* Define to the type of arg 1 for recvfrom. */ 484#define RECVFROM_TYPE_ARG1 int 485 486/* Define to the type pointed by arg 2 for recvfrom. */ 487#define RECVFROM_TYPE_ARG2 char 488 489/* Define to the type of arg 3 for recvfrom. */ 490#define RECVFROM_TYPE_ARG3 int 491 492/* Define to the type of arg 4 for recvfrom. */ 493#define RECVFROM_TYPE_ARG4 int 494 495/* Define to the type pointed by arg 5 for recvfrom. */ 496#define RECVFROM_TYPE_ARG5 struct sockaddr 497 498/* Define to the type pointed by arg 6 for recvfrom. */ 499#define RECVFROM_TYPE_ARG6 int 500 501/* Define to the function return type for recvfrom. */ 502#define RECVFROM_TYPE_RETV int 503 504/* Define if you have the send function. */ 505#define HAVE_SEND 506 507/* Define to the type of arg 1 for send. */ 508#define SEND_TYPE_ARG1 int 509 510/* Define to the type qualifier of arg 2 for send. */ 511#define SEND_QUAL_ARG2 512 513/* Define to the type of arg 2 for send. */ 514#define SEND_TYPE_ARG2 char * 515 516/* Define to the type of arg 3 for send. */ 517#define SEND_TYPE_ARG3 int 518 519/* Define to the type of arg 4 for send. */ 520#define SEND_TYPE_ARG4 int 521 522/* Define to the function return type for send. */ 523#define SEND_TYPE_RETV int 524 525/* Define to use the QsoSSL package. */ 526#define USE_QSOSSL 527 528/* Use the system keyring as the default CA bundle. */ 529#define CURL_CA_BUNDLE "/QIBM/UserData/ICSS/Cert/Server/DEFAULT.KDB" 530 531/* ---------------------------------------------------------------- */ 532/* ADDITIONAL DEFINITIONS */ 533/* ---------------------------------------------------------------- */ 534 535/* The following must be defined BEFORE system header files inclusion. */ 536 537#define __ptr128 /* No teraspace. */ 538#define qadrt_use_fputc_inline /* Generate fputc() wrapper inline. */ 539#define qadrt_use_fread_inline /* Generate fread() wrapper inline. */ 540#define qadrt_use_fwrite_inline /* Generate fwrite() wrapper inline. */ 541 542