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