config-os400.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  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. #pragma enum(int)
  26. #undef PACKAGE
  27. /* Version number of this archive. */
  28. #undef VERSION
  29. /* Define if you have the getpass function. */
  30. #undef HAVE_GETPASS
  31. /* Define cpu-machine-OS */
  32. #define OS "OS/400"
  33. /* Define if you have the gethostbyaddr_r() function with 5 arguments */
  34. #define HAVE_GETHOSTBYADDR_R_5
  35. /* Define if you have the gethostbyaddr_r() function with 7 arguments */
  36. #undef HAVE_GETHOSTBYADDR_R_7
  37. /* Define if you have the gethostbyaddr_r() function with 8 arguments */
  38. #undef HAVE_GETHOSTBYADDR_R_8
  39. /* OS400 supports a 3-argument ASCII version of gethostbyaddr_r(), but its
  40. * prototype is incompatible with the "standard" one (1st argument is not
  41. * const). However, getaddrinfo() is supported (ASCII version defined as
  42. * a local wrapper in setup-os400.h) in a threadsafe way: we can then
  43. * configure getaddrinfo() as such and get rid of gethostbyname_r() without
  44. * loss of threadsafeness. */
  45. #undef HAVE_GETHOSTBYNAME_R
  46. #undef HAVE_GETHOSTBYNAME_R_3
  47. #undef HAVE_GETHOSTBYNAME_R_5
  48. #undef HAVE_GETHOSTBYNAME_R_6
  49. #define HAVE_GETADDRINFO
  50. #define HAVE_GETADDRINFO_THREADSAFE
  51. /* Define if you need the _REENTRANT define for some functions */
  52. #undef NEED_REENTRANT
  53. /* Define if you have the Kerberos4 libraries (including -ldes) */
  54. #undef HAVE_KRB4
  55. /* Define if you want to enable IPv6 support */
  56. #define ENABLE_IPV6
  57. /* Define if struct sockaddr_in6 has the sin6_scope_id member */
  58. #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  59. /* Define this to 'int' if ssize_t is not an available typedefed type */
  60. #undef ssize_t
  61. /* Define this as a suitable file to read random data from */
  62. #undef RANDOM_FILE
  63. /* Define this to your Entropy Gathering Daemon socket pathname */
  64. #undef EGD_SOCKET
  65. /* Define to 1 if you have the alarm function. */
  66. #define HAVE_ALARM 1
  67. /* Define if you have the <alloca.h> header file. */
  68. #undef HAVE_ALLOCA_H
  69. /* Define if you have the <arpa/inet.h> header file. */
  70. #define HAVE_ARPA_INET_H
  71. /* Define if you have the `closesocket' function. */
  72. #undef HAVE_CLOSESOCKET
  73. /* Define if you have the <crypto.h> header file. */
  74. #undef HAVE_CRYPTO_H
  75. /* Define if you have the <des.h> header file. */
  76. #undef HAVE_DES_H
  77. /* Define if you have the <errno.h> header file. */
  78. #define HAVE_ERRNO_H
  79. /* Define if you have the <err.h> header file. */
  80. #undef HAVE_ERR_H
  81. /* Define if you have the <fcntl.h> header file. */
  82. #define HAVE_FCNTL_H
  83. /* Define if you have the `geteuid' function. */
  84. #define HAVE_GETEUID
  85. /* Define if you have the `gethostbyaddr' function. */
  86. #define HAVE_GETHOSTBYADDR
  87. /* Define if you have the `gethostbyaddr_r' function. */
  88. #define HAVE_GETHOSTBYADDR_R
  89. /* Define if you have the `gethostname' function. */
  90. #define HAVE_GETHOSTNAME
  91. /* Define if you have the <getopt.h> header file. */
  92. #undef HAVE_GETOPT_H
  93. /* Define if you have the `getpass_r' function. */
  94. #undef HAVE_GETPASS_R
  95. /* Define if you have the `getpwuid' function. */
  96. #define HAVE_GETPWUID
  97. /* Define if you have the `getservbyname' function. */
  98. #define HAVE_GETSERVBYNAME
  99. /* Define if you have the `gettimeofday' function. */
  100. #define HAVE_GETTIMEOFDAY
  101. /* Define if you have the `timeval' struct. */
  102. #define HAVE_STRUCT_TIMEVAL
  103. /* Define if you have the `inet_addr' function. */
  104. #define HAVE_INET_ADDR
  105. /* Define if you have the <inttypes.h> header file. */
  106. #define HAVE_INTTYPES_H
  107. /* Define if you have the <io.h> header file. */
  108. #undef HAVE_IO_H
  109. /* Define if you have the `krb_get_our_ip_for_realm' function. */
  110. #undef HAVE_KRB_GET_OUR_IP_FOR_REALM
  111. /* Define if you have the <krb.h> header file. */
  112. #undef HAVE_KRB_H
  113. /* Define if you have the `crypto' library (-lcrypto). */
  114. #undef HAVE_LIBCRYPTO
  115. /* Define if you have the `nsl' library (-lnsl). */
  116. #undef HAVE_LIBNSL
  117. /* Define if you have the `resolv' library (-lresolv). */
  118. #undef HAVE_LIBRESOLV
  119. /* Define if you have the `resolve' library (-lresolve). */
  120. #undef HAVE_LIBRESOLVE
  121. /* Define if you have the `socket' library (-lsocket). */
  122. #undef HAVE_LIBSOCKET
  123. /* Define if you have the `ssl' library (-lssl). */
  124. #undef HAVE_LIBSSL
  125. /* Define if you have GSS API. */
  126. #define HAVE_GSSAPI
  127. /* Define if you have the `ucb' library (-lucb). */
  128. #undef HAVE_LIBUCB
  129. /* Define if you have the `localtime_r' function. */
  130. #define HAVE_LOCALTIME_R
  131. /* Define if you have the <malloc.h> header file. */
  132. #define HAVE_MALLOC_H
  133. /* Define if you need the malloc.h header file even with stdlib.h */
  134. /* #define NEED_MALLOC_H 1 */
  135. /* Define if you have the <memory.h> header file. */
  136. #undef HAVE_MEMORY_H
  137. /* Define if you have the <netdb.h> header file. */
  138. #define HAVE_NETDB_H
  139. /* Define if you have the <netinet/if_ether.h> header file. */
  140. #undef HAVE_NETINET_IF_ETHER_H
  141. /* Define if you have the <netinet/in.h> header file. */
  142. #define HAVE_NETINET_IN_H
  143. /* Define if you have the <net/if.h> header file. */
  144. #define HAVE_NET_IF_H
  145. /* Define if you have the <openssl/crypto.h> header file. */
  146. #undef HAVE_OPENSSL_CRYPTO_H
  147. /* Define if you have the <openssl/err.h> header file. */
  148. #undef HAVE_OPENSSL_ERR_H
  149. /* Define if you have the <openssl/pem.h> header file. */
  150. #undef HAVE_OPENSSL_PEM_H
  151. /* Define if you have the <openssl/rsa.h> header file. */
  152. #undef HAVE_OPENSSL_RSA_H
  153. /* Define if you have the <openssl/ssl.h> header file. */
  154. #undef HAVE_OPENSSL_SSL_H
  155. /* Define if you have the <openssl/x509.h> header file. */
  156. #undef HAVE_OPENSSL_X509_H
  157. /* Define if you have the <pem.h> header file. */
  158. #undef HAVE_PEM_H
  159. /* Define if you have the `perror' function. */
  160. #define HAVE_PERROR
  161. /* Define if you have the <pwd.h> header file. */
  162. #define HAVE_PWD_H
  163. /* Define if you have the `RAND_egd' function. */
  164. #undef HAVE_RAND_EGD
  165. /* Define if you have the `RAND_screen' function. */
  166. #undef HAVE_RAND_SCREEN
  167. /* Define if you have the `RAND_status' function. */
  168. #undef HAVE_RAND_STATUS
  169. /* Define if you have the <rsa.h> header file. */
  170. #undef HAVE_RSA_H
  171. /* Define if you have the `select' function. */
  172. #define HAVE_SELECT
  173. /* Define if you have the `setvbuf' function. */
  174. #define HAVE_SETVBUF
  175. /* Define if you have the <sgtty.h> header file. */
  176. #undef HAVE_SGTTY_H
  177. /* Define if you have the `sigaction' function. */
  178. #define HAVE_SIGACTION
  179. /* Define if you have the `signal' function. */
  180. #undef HAVE_SIGNAL
  181. /* Define if you have the <signal.h> header file. */
  182. #define HAVE_SIGNAL_H
  183. /* Define if sig_atomic_t is an available typedef. */
  184. #define HAVE_SIG_ATOMIC_T
  185. /* Define if sig_atomic_t is already defined as volatile. */
  186. #undef HAVE_SIG_ATOMIC_T_VOLATILE
  187. /* Define if you have the `socket' function. */
  188. #define HAVE_SOCKET
  189. /* Define if you have the <ssl.h> header file. */
  190. #undef HAVE_SSL_H
  191. /* Define if you have the <stdint.h> header file. */
  192. #undef HAVE_STDINT_H
  193. /* Define if you have the <stdlib.h> header file. */
  194. #define HAVE_STDLIB_H
  195. /* Define if you have the `strcasecmp' function. */
  196. #undef HAVE_STRCASECMP
  197. /* Define if you have the `strcmpi' function. */
  198. #undef HAVE_STRCMPI
  199. /* Define if you have the `strdup' function. */
  200. #undef HAVE_STRDUP
  201. /* Define if you have the `strftime' function. */
  202. #define HAVE_STRFTIME
  203. /* Define if you have the `stricmp' function. */
  204. #undef HAVE_STRICMP
  205. /* Define if you have the <strings.h> header file. */
  206. #define HAVE_STRINGS_H
  207. /* Define if you have the <string.h> header file. */
  208. #define HAVE_STRING_H
  209. /* Define if you have the `strlcat' function. */
  210. #undef HAVE_STRLCAT
  211. /* Define if you have the `strlcpy' function. */
  212. #undef HAVE_STRLCPY
  213. /* Define if you have the <stropts.h> header file. */
  214. #undef HAVE_STROPTS_H
  215. /* Define if you have the `strstr' function. */
  216. #define HAVE_STRSTR
  217. /* Define if you have the `strtok_r' function. */
  218. #define HAVE_STRTOK_R
  219. /* Define if you have the `strtoll' function. */
  220. #undef HAVE_STRTOLL /* Allows ASCII compile on V5R1. */
  221. /* Define if you have the <sys/param.h> header file. */
  222. #define HAVE_SYS_PARAM_H
  223. /* Define if you have the <sys/select.h> header file. */
  224. #undef HAVE_SYS_SELECT_H
  225. /* Define if you have the <sys/socket.h> header file. */
  226. #define HAVE_SYS_SOCKET_H
  227. /* Define if you have the <sys/sockio.h> header file. */
  228. #undef HAVE_SYS_SOCKIO_H
  229. /* Define if you have the <sys/stat.h> header file. */
  230. #define HAVE_SYS_STAT_H
  231. /* Define if you have the <sys/time.h> header file. */
  232. #define HAVE_SYS_TIME_H
  233. /* Define if you have the <sys/types.h> header file. */
  234. #define HAVE_SYS_TYPES_H
  235. /* Define if you have the <sys/un.h> header file. */
  236. #define HAVE_SYS_UN_H
  237. /* Define if you have the <sys/ioctl.h> header file. */
  238. #define HAVE_SYS_IOCTL_H
  239. /* Define if you have the `tcgetattr' function. */
  240. #undef HAVE_TCGETATTR
  241. /* Define if you have the `tcsetattr' function. */
  242. #undef HAVE_TCSETATTR
  243. /* Define if you have the <termios.h> header file. */
  244. #undef HAVE_TERMIOS_H
  245. /* Define if you have the <termio.h> header file. */
  246. #undef HAVE_TERMIO_H
  247. /* Define if you have the <time.h> header file. */
  248. #define HAVE_TIME_H
  249. /* Define if you have the `uname' function. */
  250. #undef HAVE_UNAME
  251. /* Define if you have the <unistd.h> header file. */
  252. #define HAVE_UNISTD_H
  253. /* Define if you have the <winsock.h> header file. */
  254. #undef HAVE_WINSOCK_H
  255. /* Define if you have the <x509.h> header file. */
  256. #undef HAVE_X509_H
  257. /* Name of package */
  258. #undef PACKAGE
  259. /* Define as the return type of signal handlers (`int' or `void'). */
  260. #define RETSIGTYPE void
  261. /* The size of `int', as computed by sizeof. */
  262. #define SIZEOF_INT 4
  263. /* The size of a `long double', as computed by sizeof. */
  264. #define SIZEOF_LONG_DOUBLE 8
  265. /* Define if the compiler supports the 'long long' data type. */
  266. #define HAVE_LONGLONG
  267. /* The size of a `long long', as computed by sizeof. */
  268. #define SIZEOF_LONG_LONG 8
  269. /* The size of `short', as computed by sizeof. */
  270. #define SIZEOF_SHORT 2
  271. /* The size of `size_t', as computed by sizeof. */
  272. #define SIZEOF_SIZE_T 8
  273. /* Whether long long constants must be suffixed by LL. */
  274. #define HAVE_LL
  275. /* Define this if you have struct sockaddr_storage */
  276. #define HAVE_STRUCT_SOCKADDR_STORAGE
  277. /* Define if you have the ANSI C header files. */
  278. #define STDC_HEADERS
  279. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  280. #define TIME_WITH_SYS_TIME
  281. /* Version number of package */
  282. #undef VERSION
  283. /* Number of bits in a file offset, on hosts where this is settable. */
  284. #undef _FILE_OFFSET_BITS
  285. /* Define for large files, on AIX-style hosts. */
  286. #define _LARGE_FILES
  287. /* Define to empty if `const' does not conform to ANSI C. */
  288. #undef const
  289. /* type to use in place of in_addr_t if not defined */
  290. #define in_addr_t unsigned long
  291. /* Define to `unsigned' if <sys/types.h> does not define. */
  292. #undef size_t
  293. /* Define if you have the ioctl function. */
  294. #define HAVE_IOCTL
  295. /* Define if you have a working ioctl FIONBIO function. */
  296. #define HAVE_IOCTL_FIONBIO
  297. /* Define if you have a working ioctl SIOCGIFADDR function. */
  298. #define HAVE_IOCTL_SIOCGIFADDR
  299. /* To disable LDAP */
  300. #undef CURL_DISABLE_LDAP
  301. /* To avoid external use of library hidden symbols */
  302. #define CURL_HIDDEN_SYMBOLS
  303. /* External symbols need no special keyword. */
  304. #define CURL_EXTERN_SYMBOL
  305. /* Define if you have the ldap_url_parse procedure. */
  306. /* #define HAVE_LDAP_URL_PARSE */ /* Disabled because of an IBM bug. */
  307. /* Define if you have the getnameinfo function. */
  308. /* OS400 has no ASCII version of this procedure: wrapped in setup-os400.h. */
  309. #define HAVE_GETNAMEINFO
  310. /* Define to the type qualifier of arg 1 for getnameinfo. */
  311. #define GETNAMEINFO_QUAL_ARG1 const
  312. /* Define to the type of arg 1 for getnameinfo. */
  313. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  314. /* Define to the type of arg 2 for getnameinfo. */
  315. #define GETNAMEINFO_TYPE_ARG2 socklen_t
  316. /* Define to the type of args 4 and 6 for getnameinfo. */
  317. #define GETNAMEINFO_TYPE_ARG46 socklen_t
  318. /* Define to the type of arg 7 for getnameinfo. */
  319. #define GETNAMEINFO_TYPE_ARG7 int
  320. /* Define if you have the recv function. */
  321. #define HAVE_RECV
  322. /* Define to the type of arg 1 for recv. */
  323. #define RECV_TYPE_ARG1 int
  324. /* Define to the type of arg 2 for recv. */
  325. #define RECV_TYPE_ARG2 char *
  326. /* Define to the type of arg 3 for recv. */
  327. #define RECV_TYPE_ARG3 int
  328. /* Define to the type of arg 4 for recv. */
  329. #define RECV_TYPE_ARG4 int
  330. /* Define to the function return type for recv. */
  331. #define RECV_TYPE_RETV int
  332. /* Define if you have the recvfrom function. */
  333. #define HAVE_RECVFROM
  334. /* Define to the type of arg 1 for recvfrom. */
  335. #define RECVFROM_TYPE_ARG1 int
  336. /* Define to the type pointed by arg 2 for recvfrom. */
  337. #define RECVFROM_TYPE_ARG2 char
  338. /* Define to the type of arg 3 for recvfrom. */
  339. #define RECVFROM_TYPE_ARG3 int
  340. /* Define to the type of arg 4 for recvfrom. */
  341. #define RECVFROM_TYPE_ARG4 int
  342. /* Define to the type pointed by arg 5 for recvfrom. */
  343. #define RECVFROM_TYPE_ARG5 struct sockaddr
  344. /* Define to the type pointed by arg 6 for recvfrom. */
  345. #define RECVFROM_TYPE_ARG6 int
  346. /* Define to the function return type for recvfrom. */
  347. #define RECVFROM_TYPE_RETV int
  348. /* Define if you have the send function. */
  349. #define HAVE_SEND
  350. /* Define to the type of arg 1 for send. */
  351. #define SEND_TYPE_ARG1 int
  352. /* Define to the type qualifier of arg 2 for send. */
  353. #define SEND_QUAL_ARG2
  354. /* Define to the type of arg 2 for send. */
  355. #define SEND_TYPE_ARG2 char *
  356. /* Define to the type of arg 3 for send. */
  357. #define SEND_TYPE_ARG3 int
  358. /* Define to the type of arg 4 for send. */
  359. #define SEND_TYPE_ARG4 int
  360. /* Define to the function return type for send. */
  361. #define SEND_TYPE_RETV int
  362. /* Define to use the QsoSSL package. */
  363. #define USE_QSOSSL
  364. /* Use the system keyring as the default CA bundle. */
  365. #define CURL_CA_BUNDLE "/QIBM/UserData/ICSS/Cert/Server/DEFAULT.KDB"
  366. /* ---------------------------------------------------------------- */
  367. /* ADDITIONAL DEFINITIONS */
  368. /* ---------------------------------------------------------------- */
  369. /* The following must be defined BEFORE system header files inclusion. */
  370. #define __ptr128 /* No teraspace. */
  371. #define qadrt_use_fputc_inline /* Generate fputc() wrapper inline. */
  372. #define qadrt_use_fread_inline /* Generate fread() wrapper inline. */
  373. #define qadrt_use_fwrite_inline /* Generate fwrite() wrapper inline. */