Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 399 lines (280 sloc) 11.479 kb
6173ce6 @yangtse added header inclusion guard
yangtse authored
1 #ifndef HEADER_CONFIG_VMS_H
2 #define HEADER_CONFIG_VMS_H
1aeb635 @bagder sources: update source headers
authored
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 ***************************************************************************/
6173ce6 @yangtse added header inclusion guard
yangtse authored
24
25 /* */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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. */
608fdce @yangtse if2ip.c related preprocessor cleanup
yangtse authored
28 /* Added HAVE_SYS_IOCTL_H define */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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 */
009f579 changed HAVE_STRTOK to follow CRTL version
Marty Kuhrt authored
33 /* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER */
e485a23 @bagder Marty Kuhrt's VMS updates
authored
34 /* MSK, 01/27/07, needed to add HAVE_STRUCT_TIMEVAL define */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
35
36 /* Define cpu-machine-OS */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
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"
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
43 #else
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
44 # define OS "UNKNOWN-HP-VMS"
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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
52f088e @yangtse Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
yangtse authored
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. */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
57 #define SIZEOF_LONG_DOUBLE 8
58
52f088e @yangtse Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
yangtse authored
59 /* The size of `long long', as computed by sizeof. */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
60 #define SIZEOF_LONG_LONG 8
61
52f088e @yangtse Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
yangtse authored
62 /* The size of `short', as computed by sizeof. */
63 #define SIZEOF_SHORT 2
64
de670ef @yangtse build: provide SIZEOF_SIZE_T VMS definition
yangtse authored
65 /* The size of `size_t', as computed by sizeof. */
66 #define SIZEOF_SIZE_T 4
67
19bc922 @yangtse HAVE_ALARM definition for static config-*.h files
yangtse authored
68 /* Define if you have the alarm function. */
69 #define HAVE_ALARM 1
70
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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
17d2a46 @yangtse Refactor configure script detection of functions used to set sockets …
yangtse authored
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
608fdce @yangtse if2ip.c related preprocessor cleanup
yangtse authored
101 /* Define if you have a working ioctl SIOCGIFADDR function. */
102 #define HAVE_IOCTL_SIOCGIFADDR 1
103
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
126 /* #define HAVE_STRCMPI 1 */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
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. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
135 /* #define HAVE_STRICMP 1 */
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
136
137 /* Define if you have the strstr function. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
138 #define HAVE_STRSTR 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
139
42ac244 @dfandrich Better cope with a failed or unavailable ftruncate().
dfandrich authored
140 /* Define if you have the ftruncate function. */
141 #define HAVE_FTRUNCATE 1
142
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
143 /* Define if you have the uname function. */
144 #define HAVE_UNAME 1
145
ef21761 @yangtse errno.h inclusion conditionally done in setup_once.h
yangtse authored
146 /* Define if you have the <errno.h> header file. */
147 #define HAVE_ERRNO_H 1
148
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
149 /* Define if you have the <err.h> header file. */
150 #define HAVE_ERR_H 1
151
152 /* Define if you have the <fcntl.h> header file. */
153 #define HAVE_FCNTL_H 1
154
155 /* Define if you have the <getopt.h> header file. */
156 #define HAVE_GETOPT_H 1
157
158 /* Define if you have the <malloc.h> header file. */
159 #define HAVE_MALLOC_H 1
160
13616f8 @yangtse Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MA…
yangtse authored
161 /* Define if you need the malloc.h header header file even with stdlib.h */
fe22872 @yangtse include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both d…
yangtse authored
162 /* #define NEED_MALLOC_H 1 */
163
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
164 /* Define if you have the <net/if.h> header file. */
165 #define HAVE_NET_IF_H 1
166
167 /* Define if you have the <netdb.h> header file. */
168 #define HAVE_NETDB_H 1
169
170 /* Define if you have the <netinet/if_ether.h> header file. */
171 #define HAVE_NETINET_IF_ETHER_H 1
172
173 /* Define if you have the <netinet/in.h> header file. */
174 #define HAVE_NETINET_IN_H 1
175
176 /* OpenSSL section starts here */
177
178 /* Define if you have a working OpenSSL installation */
179 #ifdef USE_SSLEAY
180
181 /* if OpenSSL is in use */
182 #define USE_OPENSSL 1
183
184 /* Define if you have the crypto library (-lcrypto). */
185 #define HAVE_LIBCRYPTO 1
186
187 /* Define if you have the ssl library (-lssl). */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
188 #define HAVE_LIBSSL 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
189
190 /* Define if you have the <openssl/crypto.h> header file. */
191 #define HAVE_OPENSSL_CRYPTO_H 1
192
193 /* Define if you have the <openssl/err.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
194 #define HAVE_OPENSSL_ERR_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
195
196 /* Define if you have the <openssl/pem.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
197 #define HAVE_OPENSSL_PEM_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
198
199 /* Define if you have the <openssl/rsa.h> header file. */
200 #define HAVE_OPENSSL_RSA_H 1
201
202 /* Define if you have the <openssl/ssl.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
203 #define HAVE_OPENSSL_SSL_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
204
205 /* Define if you have the <openssl/x509.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
206 #define HAVE_OPENSSL_X509_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
207
208 /*
209 * This needs to be defined for OpenSSL 0.9.7 and other versions that have the
210 * ENGINE stuff supported. If an include of "openssl/engine.h" fails, then
211 * undefine the define below.
212 */
213 #define HAVE_OPENSSL_ENGINE_H 1
214
215 #endif /* USE_SSLEAY */
216 /* OpenSSL section ends here */
217
218 /* Define if you have the <pwd.h> header file. */
219 #define HAVE_PWD_H 1
220
221 /* Define if you have the <sgtty.h> header file. */
222 #define HAVE_SGTTY_H 1
223
224 /* Define if you have the <stdlib.h> header file. */
225 #define HAVE_STDLIB_H 1
226
227 /* Define if you have the <sys/socket.h> header file. */
228 #define HAVE_SYS_SOCKET_H 1
229
230 /* Define if you have the <sys/stat.h> header file. */
231 #define HAVE_SYS_STAT_H 1
232
233 /* Define if you have the <sys/time.h> header file. */
234 #define HAVE_SYS_TIME_H 1
235
236 /* Define if you have the <sys/types.h> header file. */
237 #define HAVE_SYS_TYPES_H 1
238
239 /* Define if you have the <termios.h> header file. */
a07bc79 @yangtse removed trailing whitespace
yangtse authored
240 #undef HAVE_TERMIOS_H
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
241
242 /* Define if you have the <time.h> header file. */
243 #define HAVE_TIME_H 1
244
245 /* Define if you have the <unistd.h> header file. */
246 #define HAVE_UNISTD_H 1
247
248 /* Define if you have the resolv library (-lresolv). */
249 #define HAVE_LIBRESOLV 1
250
251 /* Define if you have the socket library (-lsocket). */
252 #define HAVE_LIBSOCKET 1
253
254 /* Define if getaddrinfo exists and works */
255 #define HAVE_GETADDRINFO 1
256
42a7905 @yangtse Update comment
yangtse authored
257 /* Define if you have the <timeval.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
258 #define HAVE_TIMEVAL_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
259
42a7905 @yangtse Update comment
yangtse authored
260 /* Define if you have the timeval struct. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
261 #define HAVE_STRUCT_TIMEVAL 1
e485a23 @bagder Marty Kuhrt's VMS updates
authored
262
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
263 /* Name of this package! */
264 #define PACKAGE "not-used"
265
266 /* Version number of this archive. */
267 #define VERSION "not-used"
268
269 /* Define if you have the getpass function. */
270 #undef HAVE_GETPASS
271
272 /* Define if you have the <inttypes.h> header file. */
273 #undef HAVE_INTTYPES_H
274
275 /* Define if you have the <strings.h> header file. */
276 #define HAVE_STRINGS_H 1
277
278 /* Define if you have the <string.h> header file. */
279 #define HAVE_STRING_H 1
280
009f579 changed HAVE_STRTOK to follow CRTL version
Marty Kuhrt authored
281 /* Define if you have the `strtok_r' function. */
282 /* Condition lifted from <string.h> */
283 #if __CRTL_VER >= 70301000
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
284 # define HAVE_STRTOK_R 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
285 #endif
286
287 /* Define if you have the `strtoll' function. */
288 #define HAVE_STRTOLL 1
289
290 /* Define if you have the <memory.h> header file. */
0dde905 @yangtse VMS specific preprocessor symbol definition adjustments
yangtse authored
291 #define HAVE_MEMORY_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
292
9770899 @yangtse Moved potential inclusion of system's malloc.h and memory.h header fi…
yangtse authored
293 /* Define to 1 if you need the memory.h header file even with stdlib.h */
294 #define NEED_MEMORY_H 1
295
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
296 /* Define if you have the `sigsetjmp' function. */
297 #define HAVE_SIGSETJMP 1
298
299 /* Define to 1 if you have the <setjmp.h> header file. */
300 #define HAVE_SETJMP_H 1
301
302 /* Define to 1 if you have the <limits.h> header file. */
303 #define HAVE_LIMITS_H 1
304
305 /* Define to 1 if you have the <sys/ioctl.h> header file. */
306 #define HAVE_SYS_IOCTL_H 1
307
608fdce @yangtse if2ip.c related preprocessor cleanup
yangtse authored
308 /* Define to 1 if you have the <stropts.h> header file. */
309 #define HAVE_STROPTS_H 1
3970a70 Reduced the two config-vms.h_* files into this one.
Marty Kuhrt authored
310
89f54f3 @yangtse Platforms that don't have/run configure need default values in their …
yangtse authored
311 /* Define if you have the getnameinfo function. */
312 #define HAVE_GETNAMEINFO 1
313
314 /* Define to the type qualifier of arg 1 for getnameinfo. */
315 #define GETNAMEINFO_QUAL_ARG1 const
316
317 /* Define to the type of arg 1 for getnameinfo. */
318 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
319
320 /* Define to the type of arg 2 for getnameinfo. */
ddab9bd @yangtse Use 'size_t' for GETNAMEINFO_TYPE_ARG2 definition for VMS.
yangtse authored
321 #define GETNAMEINFO_TYPE_ARG2 size_t
89f54f3 @yangtse Platforms that don't have/run configure need default values in their …
yangtse authored
322
323 /* Define to the type of args 4 and 6 for getnameinfo. */
324 #define GETNAMEINFO_TYPE_ARG46 size_t
325
326 /* Define to the type of arg 7 for getnameinfo. */
327 #define GETNAMEINFO_TYPE_ARG7 int
328
329 /* Define if you have the recv function. */
330 #define HAVE_RECV 1
331
332 /* Define to the type of arg 1 for recv. */
333 #define RECV_TYPE_ARG1 int
334
335 /* Define to the type of arg 2 for recv. */
336 #define RECV_TYPE_ARG2 void *
337
338 /* Define to the type of arg 3 for recv. */
339 #define RECV_TYPE_ARG3 int
340
341 /* Define to the type of arg 4 for recv. */
342 #define RECV_TYPE_ARG4 int
343
344 /* Define to the function return type for recv. */
345 #define RECV_TYPE_RETV int
346
a9dc900 @yangtse Configure process now checks availability of recvfrom() socket functi…
yangtse authored
347 /* Define if you have the recvfrom function. */
348 #define HAVE_RECVFROM 1
349
350 /* Define to the type of arg 1 for recvfrom. */
351 #define RECVFROM_TYPE_ARG1 int
352
39f23ae @yangtse RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now…
yangtse authored
353 /* Define to the type pointed by arg 2 for recvfrom. */
354 #define RECVFROM_TYPE_ARG2 void
a9dc900 @yangtse Configure process now checks availability of recvfrom() socket functi…
yangtse authored
355
bffe69a @yangtse when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 t…
yangtse authored
356 /* Define if the type pointed by arg 2 for recvfrom is void. */
357 #define RECVFROM_TYPE_ARG2_IS_VOID 1
358
a9dc900 @yangtse Configure process now checks availability of recvfrom() socket functi…
yangtse authored
359 /* Define to the type of arg 3 for recvfrom. */
360 #define RECVFROM_TYPE_ARG3 int
361
362 /* Define to the type of arg 4 for recvfrom. */
363 #define RECVFROM_TYPE_ARG4 int
364
39f23ae @yangtse RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now…
yangtse authored
365 /* Define to the type pointed by arg 5 for recvfrom. */
366 #define RECVFROM_TYPE_ARG5 struct sockaddr
a9dc900 @yangtse Configure process now checks availability of recvfrom() socket functi…
yangtse authored
367
39f23ae @yangtse RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now…
yangtse authored
368 /* Define to the type pointed by arg 6 for recvfrom. */
369 #define RECVFROM_TYPE_ARG6 int
a9dc900 @yangtse Configure process now checks availability of recvfrom() socket functi…
yangtse authored
370
371 /* Define to the function return type for recvfrom. */
372 #define RECVFROM_TYPE_RETV int
373
89f54f3 @yangtse Platforms that don't have/run configure need default values in their …
yangtse authored
374 /* Define if you have the send function. */
375 #define HAVE_SEND 1
376
377 /* Define to the type of arg 1 for send. */
378 #define SEND_TYPE_ARG1 int
379
7e43d06 @yangtse Get qualifier of arg 2 for send() apart into SEND_QUAL_ARG2.
yangtse authored
380 /* Define to the type qualifier of arg 2 for send. */
381 #define SEND_QUAL_ARG2 const
382
89f54f3 @yangtse Platforms that don't have/run configure need default values in their …
yangtse authored
383 /* Define to the type of arg 2 for send. */
384 #define SEND_TYPE_ARG2 void *
385
386 /* Define to the type of arg 3 for send. */
387 #define SEND_TYPE_ARG3 int
388
389 /* Define to the type of arg 4 for send. */
390 #define SEND_TYPE_ARG4 int
391
392 /* Define to the function return type for send. */
393 #define SEND_TYPE_RETV int
e485a23 @bagder Marty Kuhrt's VMS updates
authored
394
aac739c @yangtse ANSI C compatibility adjustment
yangtse authored
395 /* Define to hide dollar sign from compilers in strict ansi mode. */
396 #define decc_translate_vms(__s) decc$translate_vms(__s)
397
6173ce6 @yangtse added header inclusion guard
yangtse authored
398 #endif /* HEADER_CONFIG_VMS_H */
Something went wrong with that request. Please try again.