config-os400.h 14 KB

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