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/*                                                                         */
26/* MSK, 02/05/04, Hand edited for trail build on Alpha V7.3, DEC C 6.5-003 */
27/* MSK, 03/09/04, Seems to work for all platforms I've built on so far.    */
28/*      Added HAVE_SYS_IOCTL_H define                                      */
29/* TES, 10/06/04, Added MAX_INITIAL_POST_SIZE, HAVE_BASENAME               */
30/* MSK, 02/02/05, Changed HAVE_TERMIOS_H to an undef since the change in   */
31/*                getpass.c no longer undef'd it during compile.           */
32/* MSK, 02/08/05, turned two config-vms files into one by using USE_SSLEAY */
33/* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER             */
34/* MSK, 01/27/07, needed to add HAVE_STRUCT_TIMEVAL define                 */
35
36/* Define cpu-machine-OS */
37#if defined(__alpha)
38#  define OS "ALPHA-HP-VMS"
39#elif defined(__vax)
40#  define OS "VAX-HP-VMS"
41#elif defined(__ia64)
42#  define OS "IA64-HP-VMS"
43#else
44#  define OS "UNKNOWN-HP-VMS"
45#endif
46
47/* Define if you have the ANSI C header files.  */
48#define STDC_HEADERS 1
49
50/* Define if you can safely include both <sys/time.h> and <time.h>.  */
51#define TIME_WITH_SYS_TIME 1
52
53/* The size of `int', as computed by sizeof. */
54#define SIZEOF_INT 4
55
56/* The size of `long double', as computed by sizeof. */
57#define SIZEOF_LONG_DOUBLE 8
58
59/* The size of `long long', as computed by sizeof. */
60#define SIZEOF_LONG_LONG 8
61
62/* The size of `short', as computed by sizeof. */
63#define SIZEOF_SHORT 2
64
65/* The size of `size_t', as computed by sizeof. */
66#define SIZEOF_SIZE_T 4
67
68/* Define if you have the alarm function.  */
69#define HAVE_ALARM 1
70
71/* Define if you have the geteuid function.  */
72#define HAVE_GETEUID 1
73
74/* Define if you have the basename function. */
75#define HAVE_BASENAME 1
76
77/* Define if you have the gethostbyaddr function.  */
78#define HAVE_GETHOSTBYADDR 1
79
80/* Define if you have the gethostname function.  */
81#define HAVE_GETHOSTNAME 1
82
83/* Define if you have the getpwuid function.  */
84#define HAVE_GETPWUID 1
85
86/* Define if you have the getservbyname function.  */
87#define HAVE_GETSERVBYNAME 1
88
89/* Define if you have the gettimeofday function.  */
90#define HAVE_GETTIMEOFDAY 1
91
92/* Define if you have the inet_addr function.  */
93#define HAVE_INET_ADDR 1
94
95/* Define if you have the ioctl function. */
96#define HAVE_IOCTL 1
97
98/* Define if you have a working ioctl FIONBIO function. */
99#define HAVE_IOCTL_FIONBIO 1
100
101/* Define if you have a working ioctl SIOCGIFADDR function. */
102#define HAVE_IOCTL_SIOCGIFADDR 1
103
104/* Define if you have the perror function.  */
105#define HAVE_PERROR 1
106
107/* Define if you have the select function.  */
108#define HAVE_SELECT 1
109
110/* Define if you have the setvbuf function.  */
111#define HAVE_SETVBUF 1
112
113/* Define if you have the sigaction function.  */
114#define HAVE_SIGACTION 1
115
116/* Define if you have the signal function.  */
117#define HAVE_SIGNAL 1
118
119/* Define if you have the socket function.  */
120#define HAVE_SOCKET 1
121
122/* Define if you have the strcasecmp function.  */
123#define HAVE_STRCASECMP 1
124
125/* Define if you have the strcmpi function.  */
126/* #define HAVE_STRCMPI 1 */
127
128/* Define if you have the strdup function.  */
129#define HAVE_STRDUP 1
130
131/* Define if you have the strftime function.  */
132#define HAVE_STRFTIME 1
133
134/* Define if you have the stricmp function.  */
135/* #define HAVE_STRICMP 1 */
136
137/* Define if you have the strstr function.  */
138#define HAVE_STRSTR 1
139
140/* Define if you have the ftruncate function. */
141#define HAVE_FTRUNCATE 1
142
143/* Define if you have the uname function.  */
144#define HAVE_UNAME 1
145
146/* Define if you have the <err.h> header file.  */
147#define HAVE_ERR_H 1
148
149/* Define if you have the <fcntl.h> header file.  */
150#define HAVE_FCNTL_H 1
151
152/* Define if you have the <getopt.h> header file.  */
153#define HAVE_GETOPT_H 1
154
155/* Define if you have the <malloc.h> header file.  */
156#define HAVE_MALLOC_H 1
157
158/* Define if you need the malloc.h header header file even with stdlib.h  */
159/* #define NEED_MALLOC_H 1 */
160
161/* Define if you have the <net/if.h> header file.  */
162#define HAVE_NET_IF_H 1
163
164/* Define if you have the <netdb.h> header file.  */
165#define HAVE_NETDB_H 1
166
167/* Define if you have the <netinet/if_ether.h> header file.  */
168#define HAVE_NETINET_IF_ETHER_H 1
169
170/* Define if you have the <netinet/in.h> header file.  */
171#define HAVE_NETINET_IN_H 1
172
173/* OpenSSL section starts here */
174
175/* Define if you have a working OpenSSL installation */
176#ifdef USE_SSLEAY
177
178/* if OpenSSL is in use */
179#define USE_OPENSSL 1
180
181/* Define if you have the crypto library (-lcrypto).  */
182#define HAVE_LIBCRYPTO 1
183
184/* Define if you have the ssl library (-lssl).  */
185#define HAVE_LIBSSL 1
186
187/* Define if you have the <openssl/crypto.h> header file.  */
188#define HAVE_OPENSSL_CRYPTO_H 1
189
190/* Define if you have the <openssl/err.h> header file.  */
191#define HAVE_OPENSSL_ERR_H 1
192
193/* Define if you have the <openssl/pem.h> header file.  */
194#define HAVE_OPENSSL_PEM_H 1
195
196/* Define if you have the <openssl/rsa.h> header file.  */
197#define HAVE_OPENSSL_RSA_H 1
198
199/* Define if you have the <openssl/ssl.h> header file.  */
200#define HAVE_OPENSSL_SSL_H 1
201
202/* Define if you have the <openssl/x509.h> header file.  */
203#define HAVE_OPENSSL_X509_H 1
204
205/*
206 * This needs to be defined for OpenSSL 0.9.7 and other versions that have the
207 * ENGINE stuff supported. If an include of "openssl/engine.h" fails, then
208 * undefine the define below.
209*/
210#define HAVE_OPENSSL_ENGINE_H 1
211
212#endif /* USE_SSLEAY */
213/* OpenSSL section ends here */
214
215/* Define if you have the <pwd.h> header file.  */
216#define HAVE_PWD_H 1
217
218/* Define if you have the <sgtty.h> header file.  */
219#define HAVE_SGTTY_H 1
220
221/* Define if you have the <stdlib.h> header file.  */
222#define HAVE_STDLIB_H 1
223
224/* Define if you have the <sys/socket.h> header file.  */
225#define HAVE_SYS_SOCKET_H 1
226
227/* Define if you have the <sys/stat.h> header file.  */
228#define HAVE_SYS_STAT_H 1
229
230/* Define if you have the <sys/time.h> header file.  */
231#define HAVE_SYS_TIME_H 1
232
233/* Define if you have the <sys/types.h> header file.  */
234#define HAVE_SYS_TYPES_H 1
235
236/* Define if you have the <termios.h> header file.  */
237#undef HAVE_TERMIOS_H
238
239/* Define if you have the <time.h> header file.  */
240#define HAVE_TIME_H 1
241
242/* Define if you have the <unistd.h> header file.  */
243#define HAVE_UNISTD_H 1
244
245/* Define if you have the resolv library (-lresolv).  */
246#define HAVE_LIBRESOLV 1
247
248/* Define if you have the socket library (-lsocket).  */
249#define HAVE_LIBSOCKET 1
250
251/* Define if getaddrinfo exists and works */
252#define HAVE_GETADDRINFO 1
253
254/* Define if you have the <timeval.h> header file.  */
255#define HAVE_TIMEVAL_H 1
256
257/* Define if you have the timeval struct.  */
258#define HAVE_STRUCT_TIMEVAL 1
259
260/* Name of this package! */
261#define PACKAGE "not-used"
262
263/* Version number of this archive. */
264#define VERSION "not-used"
265
266/* Define if you have the getpass function.  */
267#undef HAVE_GETPASS
268
269/* Define if you have the <inttypes.h> header file. */
270#undef HAVE_INTTYPES_H
271
272/* Define if you have the <strings.h> header file. */
273#define HAVE_STRINGS_H 1
274
275/* Define if you have the <string.h> header file. */
276#define HAVE_STRING_H 1
277
278/* Define if you have the `strtok_r' function.  */
279/* Condition lifted from <string.h>             */
280#if __CRTL_VER >= 70301000
281#  define HAVE_STRTOK_R 1
282#endif
283
284/* Define if you have the `strtoll' function. */
285#define HAVE_STRTOLL 1
286
287/* Define if you have the <memory.h> header file. */
288#define HAVE_MEMORY_H 1
289
290/* Define to 1 if you need the memory.h header file even with stdlib.h */
291#define NEED_MEMORY_H 1
292
293/* Define if you have the `sigsetjmp' function. */
294#define HAVE_SIGSETJMP 1
295
296/* Define to 1 if you have the <setjmp.h> header file. */
297#define HAVE_SETJMP_H 1
298
299/* Define to 1 if you have the <limits.h> header file. */
300#define HAVE_LIMITS_H 1
301
302/* Define to 1 if you have the <sys/ioctl.h> header file. */
303#define HAVE_SYS_IOCTL_H 1
304
305/* Define to 1 if you have the <stropts.h> header file. */
306#define HAVE_STROPTS_H 1
307
308/* Define if you have the getnameinfo function. */
309#define HAVE_GETNAMEINFO 1
310
311/* Define to the type qualifier of arg 1 for getnameinfo. */
312#define GETNAMEINFO_QUAL_ARG1 const
313
314/* Define to the type of arg 1 for getnameinfo. */
315#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
316
317/* Define to the type of arg 2 for getnameinfo. */
318#define GETNAMEINFO_TYPE_ARG2 size_t
319
320/* Define to the type of args 4 and 6 for getnameinfo. */
321#define GETNAMEINFO_TYPE_ARG46 size_t
322
323/* Define to the type of arg 7 for getnameinfo. */
324#define GETNAMEINFO_TYPE_ARG7 int
325
326/* Define if you have the recv function. */
327#define HAVE_RECV 1
328
329/* Define to the type of arg 1 for recv. */
330#define RECV_TYPE_ARG1 int
331
332/* Define to the type of arg 2 for recv. */
333#define RECV_TYPE_ARG2 void *
334
335/* Define to the type of arg 3 for recv. */
336#define RECV_TYPE_ARG3 int
337
338/* Define to the type of arg 4 for recv. */
339#define RECV_TYPE_ARG4 int
340
341/* Define to the function return type for recv. */
342#define RECV_TYPE_RETV int
343
344/* Define if you have the recvfrom function. */
345#define HAVE_RECVFROM 1
346
347/* Define to the type of arg 1 for recvfrom. */
348#define RECVFROM_TYPE_ARG1 int
349
350/* Define to the type pointed by arg 2 for recvfrom. */
351#define RECVFROM_TYPE_ARG2 void
352
353/* Define if the type pointed by arg 2 for recvfrom is void. */
354#define RECVFROM_TYPE_ARG2_IS_VOID 1
355
356/* Define to the type of arg 3 for recvfrom. */
357#define RECVFROM_TYPE_ARG3 int
358
359/* Define to the type of arg 4 for recvfrom. */
360#define RECVFROM_TYPE_ARG4 int
361
362/* Define to the type pointed by arg 5 for recvfrom. */
363#define RECVFROM_TYPE_ARG5 struct sockaddr
364
365/* Define to the type pointed by arg 6 for recvfrom. */
366#define RECVFROM_TYPE_ARG6 int
367
368/* Define to the function return type for recvfrom. */
369#define RECVFROM_TYPE_RETV int
370
371/* Define if you have the send function. */
372#define HAVE_SEND 1
373
374/* Define to the type of arg 1 for send. */
375#define SEND_TYPE_ARG1 int
376
377/* Define to the type qualifier of arg 2 for send. */
378#define SEND_QUAL_ARG2 const
379
380/* Define to the type of arg 2 for send. */
381#define SEND_TYPE_ARG2 void *
382
383/* Define to the type of arg 3 for send. */
384#define SEND_TYPE_ARG3 int
385
386/* Define to the type of arg 4 for send. */
387#define SEND_TYPE_ARG4 int
388
389/* Define to the function return type for send. */
390#define SEND_TYPE_RETV int
391
392/* Define to hide dollar sign from compilers in strict ansi mode. */
393#define decc_translate_vms(__s) decc$translate_vms(__s)
394
395#endif /* HEADER_CONFIG_VMS_H */
396