config-vms.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. #ifndef HEADER_CONFIG_VMS_H
  2. #define HEADER_CONFIG_VMS_H
  3. /***************************************************************************
  4. * _ _ ____ _
  5. * Project ___| | | | _ \| |
  6. * / __| | | | |_) | |
  7. * | (__| |_| | _ <| |___
  8. * \___|\___/|_| \_\_____|
  9. *
  10. * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
  11. *
  12. * This software is licensed as described in the file COPYING, which
  13. * you should have received as part of this distribution. The terms
  14. * are also available at http://curl.haxx.se/docs/copyright.html.
  15. *
  16. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  17. * copies of the Software, and permit persons to whom the Software is
  18. * furnished to do so, under the terms of the COPYING file.
  19. *
  20. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  21. * KIND, either express or implied.
  22. *
  23. ***************************************************************************/
  24. /* */
  25. /* MSK, 02/05/04, Hand edited for trail build on Alpha V7.3, DEC C 6.5-003 */
  26. /* MSK, 03/09/04, Seems to work for all platforms I've built on so far. */
  27. /* Added HAVE_SYS_IOCTL_H define */
  28. /* TES, 10/06/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME */
  29. /* MSK, 02/02/05, Changed HAVE_TERMIOS_H to an undef since the change in */
  30. /* getpass.c no longer undef'd it during compile. */
  31. /* MSK, 02/08/05, turned two config-vms files into one by using USE_SSLEAY */
  32. /* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER */
  33. /* MSK, 01/27/07, needed to add HAVE_STRUCT_TIMEVAL define */
  34. /* Define cpu-machine-OS */
  35. #if defined(__alpha)
  36. # define OS "ALPHA-HP-VMS"
  37. #elif defined(__vax)
  38. # define OS "VAX-HP-VMS"
  39. #elif defined(__ia64)
  40. # define OS "IA64-HP-VMS"
  41. #else
  42. # define OS "UNKNOWN-HP-VMS"
  43. #endif
  44. /* Define if you have the ANSI C header files. */
  45. #define STDC_HEADERS 1
  46. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  47. #define TIME_WITH_SYS_TIME 1
  48. /* The size of `int', as computed by sizeof. */
  49. #define SIZEOF_INT 4
  50. /* The size of `long double', as computed by sizeof. */
  51. #define SIZEOF_LONG_DOUBLE 8
  52. /* The size of `long long', as computed by sizeof. */
  53. #define SIZEOF_LONG_LONG 8
  54. /* The size of `short', as computed by sizeof. */
  55. #define SIZEOF_SHORT 2
  56. /* The size of `size_t', as computed by sizeof. */
  57. #define SIZEOF_SIZE_T 4
  58. /* Define if you have the alarm function. */
  59. #define HAVE_ALARM 1
  60. /* Define if you have the geteuid function. */
  61. #define HAVE_GETEUID 1
  62. /* Define if you have the basename function. */
  63. #define HAVE_BASENAME 1
  64. /* Define if you have the gethostbyaddr function. */
  65. #define HAVE_GETHOSTBYADDR 1
  66. /* Define if you have the gethostname function. */
  67. #define HAVE_GETHOSTNAME 1
  68. /* Define if you have the getpwuid function. */
  69. #define HAVE_GETPWUID 1
  70. /* Define if you have the getservbyname function. */
  71. #define HAVE_GETSERVBYNAME 1
  72. /* Define if you have the gettimeofday function. */
  73. #define HAVE_GETTIMEOFDAY 1
  74. /* Define if you have the inet_addr function. */
  75. #define HAVE_INET_ADDR 1
  76. /* Define if you have the ioctl function. */
  77. #define HAVE_IOCTL 1
  78. /* Define if you have a working ioctl FIONBIO function. */
  79. #define HAVE_IOCTL_FIONBIO 1
  80. /* Define if you have a working ioctl SIOCGIFADDR function. */
  81. #define HAVE_IOCTL_SIOCGIFADDR 1
  82. /* Define if you have the perror function. */
  83. #define HAVE_PERROR 1
  84. /* Define if you have the select function. */
  85. #define HAVE_SELECT 1
  86. /* Define if you have the setvbuf function. */
  87. #define HAVE_SETVBUF 1
  88. /* Define if you have the sigaction function. */
  89. #define HAVE_SIGACTION 1
  90. /* Define if you have the signal function. */
  91. #define HAVE_SIGNAL 1
  92. /* Define if you have the socket function. */
  93. #define HAVE_SOCKET 1
  94. /* Define if you have the strcasecmp function. */
  95. #define HAVE_STRCASECMP 1
  96. /* Define if you have the strcmpi function. */
  97. /* #define HAVE_STRCMPI 1 */
  98. /* Define if you have the strdup function. */
  99. #define HAVE_STRDUP 1
  100. /* Define if you have the strftime function. */
  101. #define HAVE_STRFTIME 1
  102. /* Define if you have the stricmp function. */
  103. /* #define HAVE_STRICMP 1 */
  104. /* Define if you have the strstr function. */
  105. #define HAVE_STRSTR 1
  106. /* Define if you have the ftruncate function. */
  107. #define HAVE_FTRUNCATE 1
  108. /* Define if you have the uname function. */
  109. #define HAVE_UNAME 1
  110. /* Define if you have the <errno.h> header file. */
  111. #define HAVE_ERRNO_H 1
  112. /* Define if you have the <err.h> header file. */
  113. #define HAVE_ERR_H 1
  114. /* Define if you have the <fcntl.h> header file. */
  115. #define HAVE_FCNTL_H 1
  116. /* Define if you have the <getopt.h> header file. */
  117. #define HAVE_GETOPT_H 1
  118. /* Define if you have the <malloc.h> header file. */
  119. #define HAVE_MALLOC_H 1
  120. /* Define if you need the malloc.h header header file even with stdlib.h */
  121. /* #define NEED_MALLOC_H 1 */
  122. /* Define if you have the <net/if.h> header file. */
  123. #define HAVE_NET_IF_H 1
  124. /* Define if you have the <netdb.h> header file. */
  125. #define HAVE_NETDB_H 1
  126. /* Define if you have the <netinet/if_ether.h> header file. */
  127. #define HAVE_NETINET_IF_ETHER_H 1
  128. /* Define if you have the <netinet/in.h> header file. */
  129. #define HAVE_NETINET_IN_H 1
  130. /* OpenSSL section starts here */
  131. /* Define if you have a working OpenSSL installation */
  132. #ifdef USE_SSLEAY
  133. /* if OpenSSL is in use */
  134. #define USE_OPENSSL 1
  135. /* Define if you have the crypto library (-lcrypto). */
  136. #define HAVE_LIBCRYPTO 1
  137. /* Define if you have the ssl library (-lssl). */
  138. #define HAVE_LIBSSL 1
  139. /* Define if you have the <openssl/crypto.h> header file. */
  140. #define HAVE_OPENSSL_CRYPTO_H 1
  141. /* Define if you have the <openssl/err.h> header file. */
  142. #define HAVE_OPENSSL_ERR_H 1
  143. /* Define if you have the <openssl/pem.h> header file. */
  144. #define HAVE_OPENSSL_PEM_H 1
  145. /* Define if you have the <openssl/rsa.h> header file. */
  146. #define HAVE_OPENSSL_RSA_H 1
  147. /* Define if you have the <openssl/ssl.h> header file. */
  148. #define HAVE_OPENSSL_SSL_H 1
  149. /* Define if you have the <openssl/x509.h> header file. */
  150. #define HAVE_OPENSSL_X509_H 1
  151. /*
  152. * This needs to be defined for OpenSSL 0.9.7 and other versions that have the
  153. * ENGINE stuff supported. If an include of "openssl/engine.h" fails, then
  154. * undefine the define below.
  155. */
  156. #define HAVE_OPENSSL_ENGINE_H 1
  157. #endif /* USE_SSLEAY */
  158. /* OpenSSL section ends here */
  159. /* Define if you have the <pwd.h> header file. */
  160. #define HAVE_PWD_H 1
  161. /* Define if you have the <sgtty.h> header file. */
  162. #define HAVE_SGTTY_H 1
  163. /* Define if you have the <stdlib.h> header file. */
  164. #define HAVE_STDLIB_H 1
  165. /* Define if you have the <sys/socket.h> header file. */
  166. #define HAVE_SYS_SOCKET_H 1
  167. /* Define if you have the <sys/stat.h> header file. */
  168. #define HAVE_SYS_STAT_H 1
  169. /* Define if you have the <sys/time.h> header file. */
  170. #define HAVE_SYS_TIME_H 1
  171. /* Define if you have the <sys/types.h> header file. */
  172. #define HAVE_SYS_TYPES_H 1
  173. /* Define if you have the <termios.h> header file. */
  174. #undef HAVE_TERMIOS_H
  175. /* Define if you have the <time.h> header file. */
  176. #define HAVE_TIME_H 1
  177. /* Define if you have the <unistd.h> header file. */
  178. #define HAVE_UNISTD_H 1
  179. /* Define if you have the resolv library (-lresolv). */
  180. #define HAVE_LIBRESOLV 1
  181. /* Define if you have the socket library (-lsocket). */
  182. #define HAVE_LIBSOCKET 1
  183. /* Define if getaddrinfo exists and works */
  184. #define HAVE_GETADDRINFO 1
  185. /* Define if you have the <timeval.h> header file. */
  186. #define HAVE_TIMEVAL_H 1
  187. /* Define if you have the timeval struct. */
  188. #define HAVE_STRUCT_TIMEVAL 1
  189. /* Name of this package! */
  190. #define PACKAGE "not-used"
  191. /* Version number of this archive. */
  192. #define VERSION "not-used"
  193. /* Define if you have the getpass function. */
  194. #undef HAVE_GETPASS
  195. /* Define if you have the <inttypes.h> header file. */
  196. #undef HAVE_INTTYPES_H
  197. /* Define if you have the <strings.h> header file. */
  198. #define HAVE_STRINGS_H 1
  199. /* Define if you have the <string.h> header file. */
  200. #define HAVE_STRING_H 1
  201. /* Define if you have the `strtok_r' function. */
  202. /* Condition lifted from <string.h> */
  203. #if __CRTL_VER >= 70301000
  204. # define HAVE_STRTOK_R 1
  205. #endif
  206. /* Define if you have the `strtoll' function. */
  207. #define HAVE_STRTOLL 1
  208. /* Define if you have the <memory.h> header file. */
  209. #define HAVE_MEMORY_H 1
  210. /* Define to 1 if you need the memory.h header file even with stdlib.h */
  211. #define NEED_MEMORY_H 1
  212. /* Define if you have the `sigsetjmp' function. */
  213. #define HAVE_SIGSETJMP 1
  214. /* Define to 1 if you have the <setjmp.h> header file. */
  215. #define HAVE_SETJMP_H 1
  216. /* Define to 1 if you have the <limits.h> header file. */
  217. #define HAVE_LIMITS_H 1
  218. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  219. #define HAVE_SYS_IOCTL_H 1
  220. /* Define to 1 if you have the <stropts.h> header file. */
  221. #define HAVE_STROPTS_H 1
  222. /* Define if you have the getnameinfo function. */
  223. #define HAVE_GETNAMEINFO 1
  224. /* Define to the type qualifier of arg 1 for getnameinfo. */
  225. #define GETNAMEINFO_QUAL_ARG1 const
  226. /* Define to the type of arg 1 for getnameinfo. */
  227. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  228. /* Define to the type of arg 2 for getnameinfo. */
  229. #define GETNAMEINFO_TYPE_ARG2 size_t
  230. /* Define to the type of args 4 and 6 for getnameinfo. */
  231. #define GETNAMEINFO_TYPE_ARG46 size_t
  232. /* Define to the type of arg 7 for getnameinfo. */
  233. #define GETNAMEINFO_TYPE_ARG7 int
  234. /* Define if you have the recv function. */
  235. #define HAVE_RECV 1
  236. /* Define to the type of arg 1 for recv. */
  237. #define RECV_TYPE_ARG1 int
  238. /* Define to the type of arg 2 for recv. */
  239. #define RECV_TYPE_ARG2 void *
  240. /* Define to the type of arg 3 for recv. */
  241. #define RECV_TYPE_ARG3 int
  242. /* Define to the type of arg 4 for recv. */
  243. #define RECV_TYPE_ARG4 int
  244. /* Define to the function return type for recv. */
  245. #define RECV_TYPE_RETV int
  246. /* Define if you have the recvfrom function. */
  247. #define HAVE_RECVFROM 1
  248. /* Define to the type of arg 1 for recvfrom. */
  249. #define RECVFROM_TYPE_ARG1 int
  250. /* Define to the type pointed by arg 2 for recvfrom. */
  251. #define RECVFROM_TYPE_ARG2 void
  252. /* Define if the type pointed by arg 2 for recvfrom is void. */
  253. #define RECVFROM_TYPE_ARG2_IS_VOID 1
  254. /* Define to the type of arg 3 for recvfrom. */
  255. #define RECVFROM_TYPE_ARG3 int
  256. /* Define to the type of arg 4 for recvfrom. */
  257. #define RECVFROM_TYPE_ARG4 int
  258. /* Define to the type pointed by arg 5 for recvfrom. */
  259. #define RECVFROM_TYPE_ARG5 struct sockaddr
  260. /* Define to the type pointed by arg 6 for recvfrom. */
  261. #define RECVFROM_TYPE_ARG6 int
  262. /* Define to the function return type for recvfrom. */
  263. #define RECVFROM_TYPE_RETV int
  264. /* Define if you have the send function. */
  265. #define HAVE_SEND 1
  266. /* Define to the type of arg 1 for send. */
  267. #define SEND_TYPE_ARG1 int
  268. /* Define to the type qualifier of arg 2 for send. */
  269. #define SEND_QUAL_ARG2 const
  270. /* Define to the type of arg 2 for send. */
  271. #define SEND_TYPE_ARG2 void *
  272. /* Define to the type of arg 3 for send. */
  273. #define SEND_TYPE_ARG3 int
  274. /* Define to the type of arg 4 for send. */
  275. #define SEND_TYPE_ARG4 int
  276. /* Define to the function return type for send. */
  277. #define SEND_TYPE_RETV int
  278. /* Define to hide dollar sign from compilers in strict ansi mode. */
  279. #define decc_translate_vms(__s) decc$translate_vms(__s)
  280. #endif /* HEADER_CONFIG_VMS_H */