1/* config.h.in.  Generated from configure.ac by autoheader.  */
2
3/* Define to 1 if you have the <arpa/inet.h> header file. */
4#undef HAVE_ARPA_INET_H
5
6/* Define to 1 if you have the <assert.h> header file. */
7#undef HAVE_ASSERT_H
8
9/* Define to 1 if you have the <ctype.h> header file. */
10#undef HAVE_CTYPE_H
11
12/* Whether getaddrinfo is available */
13#undef HAVE_GETADDRINFO
14
15/* Define to 1 if you have the <getopt.h> header file. */
16#undef HAVE_GETOPT_H
17
18/* If you have HMAC_CTX_init */
19#undef HAVE_HMAC_CTX_INIT
20
21/* Define to 1 if you have the <inttypes.h> header file. */
22#undef HAVE_INTTYPES_H
23
24/* Define to 1 if you have the `isblank' function. */
25#undef HAVE_ISBLANK
26
27/* Define to 1 if you have the `ldns' library (-lldns). */
28#undef HAVE_LIBLDNS
29
30/* Define to 1 if you have the <memory.h> header file. */
31#undef HAVE_MEMORY_H
32
33/* Define to 1 if you have the <netinet/if_ether.h> header file. */
34#undef HAVE_NETINET_IF_ETHER_H
35
36/* Define to 1 if you have the <netinet/in.h> header file. */
37#undef HAVE_NETINET_IN_H
38
39/* Define to 1 if you have the <netinet/in_systm.h> header file. */
40#undef HAVE_NETINET_IN_SYSTM_H
41
42/* Define to 1 if you have the <netinet/ip6.h> header file. */
43#undef HAVE_NETINET_IP6_H
44
45/* Define to 1 if you have the <netinet/ip.h> header file. */
46#undef HAVE_NETINET_IP_H
47
48/* Define to 1 if you have the <netinet/udp.h> header file. */
49#undef HAVE_NETINET_UDP_H
50
51/* Define to 1 if you have the <net/if.h> header file. */
52#undef HAVE_NET_IF_H
53
54/* Define to 1 if you have the <openssl/err.h> header file. */
55#undef HAVE_OPENSSL_ERR_H
56
57/* Define to 1 if you have the <openssl/rand.h> header file. */
58#undef HAVE_OPENSSL_RAND_H
59
60/* Define to 1 if you have the <openssl/ssl.h> header file. */
61#undef HAVE_OPENSSL_SSL_H
62
63/* Define if you have the SSL libraries installed. */
64#undef HAVE_SSL
65
66/* Define to 1 if you have the <stdint.h> header file. */
67#undef HAVE_STDINT_H
68
69/* Define to 1 if you have the <stdio.h> header file. */
70#undef HAVE_STDIO_H
71
72/* Define to 1 if you have the <stdlib.h> header file. */
73#undef HAVE_STDLIB_H
74
75/* Define to 1 if you have the <strings.h> header file. */
76#undef HAVE_STRINGS_H
77
78/* Define to 1 if you have the <string.h> header file. */
79#undef HAVE_STRING_H
80
81/* Define to 1 if you have the <sys/mount.h> header file. */
82#undef HAVE_SYS_MOUNT_H
83
84/* Define to 1 if you have the <sys/param.h> header file. */
85#undef HAVE_SYS_PARAM_H
86
87/* Define to 1 if you have the <sys/select.h> header file. */
88#undef HAVE_SYS_SELECT_H
89
90/* Define to 1 if you have the <sys/socket.h> header file. */
91#undef HAVE_SYS_SOCKET_H
92
93/* Define to 1 if you have the <sys/stat.h> header file. */
94#undef HAVE_SYS_STAT_H
95
96/* Define to 1 if you have the <sys/time.h> header file. */
97#undef HAVE_SYS_TIME_H
98
99/* Define to 1 if you have the <sys/types.h> header file. */
100#undef HAVE_SYS_TYPES_H
101
102/* Define to 1 if you have the <time.h> header file. */
103#undef HAVE_TIME_H
104
105/* Define to 1 if you have the <unistd.h> header file. */
106#undef HAVE_UNISTD_H
107
108/* Define to 1 if you have the <winsock2.h> header file. */
109#undef HAVE_WINSOCK2_H
110
111/* Define to 1 if you have the <ws2tcpip.h> header file. */
112#undef HAVE_WS2TCPIP_H
113
114/* Default trust anchor file */
115#undef LDNS_TRUST_ANCHOR_FILE
116
117/* Define to the address where bug reports for this package should be sent. */
118#undef PACKAGE_BUGREPORT
119
120/* Define to the full name of this package. */
121#undef PACKAGE_NAME
122
123/* Define to the full name and version of this package. */
124#undef PACKAGE_STRING
125
126/* Define to the one symbol short name of this package. */
127#undef PACKAGE_TARNAME
128
129/* Define to the home page for this package. */
130#undef PACKAGE_URL
131
132/* Define to the version of this package. */
133#undef PACKAGE_VERSION
134
135/* Define to 1 if you have the ANSI C header files. */
136#undef STDC_HEADERS
137
138/* Enable extensions on AIX 3, Interix.  */
139#ifndef _ALL_SOURCE
140# undef _ALL_SOURCE
141#endif
142/* Enable GNU extensions on systems that have them.  */
143#ifndef _GNU_SOURCE
144# undef _GNU_SOURCE
145#endif
146/* Enable threading extensions on Solaris.  */
147#ifndef _POSIX_PTHREAD_SEMANTICS
148# undef _POSIX_PTHREAD_SEMANTICS
149#endif
150/* Enable extensions on HP NonStop.  */
151#ifndef _TANDEM_SOURCE
152# undef _TANDEM_SOURCE
153#endif
154/* Enable general extensions on Solaris.  */
155#ifndef __EXTENSIONS__
156# undef __EXTENSIONS__
157#endif
158
159
160/* Whether the windows socket API is used */
161#undef USE_WINSOCK
162
163/* the version of the windows API enabled */
164#undef WINVER
165
166/* Define to 1 if on MINIX. */
167#undef _MINIX
168
169/* Define to 2 if the system does not provide POSIX.1 features except with
170   this defined. */
171#undef _POSIX_1_SOURCE
172
173/* Define to 1 if you need to in order for `stat' and other things to work. */
174#undef _POSIX_SOURCE
175
176/* in_addr_t */
177#undef in_addr_t
178
179/* in_port_t */
180#undef in_port_t
181
182/* Define to `__inline__' or `__inline' if that's what the C compiler
183   calls it, or to nothing if 'inline' is not supported under any name.  */
184#ifndef __cplusplus
185#undef inline
186#endif
187
188/* Define to `short' if <sys/types.h> does not define. */
189#undef int16_t
190
191/* Define to `int' if <sys/types.h> does not define. */
192#undef int32_t
193
194/* Define to `long long' if <sys/types.h> does not define. */
195#undef int64_t
196
197/* Define to `char' if <sys/types.h> does not define. */
198#undef int8_t
199
200/* Define to `unsigned int' if <sys/types.h> does not define. */
201#undef size_t
202
203/* Define to 'int' if not defined */
204#undef socklen_t
205
206/* Define to `int' if <sys/types.h> does not define. */
207#undef ssize_t
208
209/* Define to `unsigned short' if <sys/types.h> does not define. */
210#undef uint16_t
211
212/* Define to `unsigned int' if <sys/types.h> does not define. */
213#undef uint32_t
214
215/* Define to `unsigned long long' if <sys/types.h> does not define. */
216#undef uint64_t
217
218/* Define to `unsigned char' if <sys/types.h> does not define. */
219#undef uint8_t
220
221
222
223#include <stdio.h>
224#include <string.h>
225#include <unistd.h>
226#include <assert.h>
227
228#if STDC_HEADERS
229#include <stdlib.h>
230#include <stddef.h>
231#endif
232
233#ifdef HAVE_STDINT_H
234#include <stdint.h>
235#endif
236
237#ifdef HAVE_SYS_SOCKET_H
238#include <sys/socket.h>
239#endif
240
241#ifdef HAVE_NETINET_IN_H
242#include <netinet/in.h>
243#endif
244
245#ifdef HAVE_ARPA_INET_H
246#include <arpa/inet.h>
247#endif
248
249#ifdef HAVE_NETINET_UDP_H
250#include <netinet/udp.h>
251#endif
252
253#ifdef HAVE_TIME_H
254#include <time.h>
255#endif
256
257#ifdef HAVE_NETINET_IN_SYSTM_H
258#include <netinet/in_systm.h>
259#endif
260
261#ifdef HAVE_NETINET_IP_H
262#include <netinet/ip.h>
263#endif
264
265#ifdef HAVE_NET_IF_H
266#include <net/if.h>
267#endif
268
269#ifdef HAVE_NETINET_IF_ETHER_H
270#include <netinet/if_ether.h>
271#endif
272
273#ifdef HAVE_WINSOCK2_H
274#define USE_WINSOCK 1
275#include <winsock2.h>
276#endif
277
278#ifdef HAVE_WS2TCPIP_H
279#include <ws2tcpip.h>
280#endif
281
282extern char *optarg;
283extern int optind, opterr;
284
285#ifndef EXIT_FAILURE
286#define EXIT_FAILURE  1
287#endif
288#ifndef EXIT_SUCCESS
289#define EXIT_SUCCESS  0
290#endif
291
292#ifdef S_SPLINT_S
293#define FD_ZERO(a) /* a */
294#define FD_SET(a,b) /* a, b */
295#endif
296
297