8 #define HAVE_ARPA_INET_H 1 11 #define HAVE_ATTR_FORMAT 1 14 #define HAVE_ATTR_UNUSED 1 35 #define HAVE_CTIME_R 1 38 #define HAVE_DANE_CA_FILE 0 41 #define HAVE_DANE_CA_PATH 0 45 #define HAVE_DECL_NID_SECP384R1 1 57 #define HAVE_DECL_NID_X9_62_PRIME256V1 1 60 #define HAVE_DLFCN_H 1 63 #define HAVE_DSA_GET0_KEY 1 66 #define HAVE_DSA_GET0_PQG 1 69 #define HAVE_DSA_SIG_GET0 1 72 #define HAVE_DSA_SIG_SET0 1 75 #define HAVE_ECDSA_SIG_GET0 1 78 #define HAVE_ENDPROTOENT 1 81 #define HAVE_ENDSERVENT 1 90 #define HAVE_EVP_MD_CTX_NEW 1 93 #define HAVE_EVP_PKEY_BASE_ID 1 96 #define HAVE_EVP_PKEY_KEYGEN 1 99 #define HAVE_EVP_SHA256 1 102 #define HAVE_EVP_SHA384 1 105 #define HAVE_EVP_SHA512 1 114 #define HAVE_GETADDRINFO 1 117 #define HAVE_GETOPT_H 1 120 #define HAVE_GMTIME_R 1 123 #define HAVE_HMAC_UPDATE 1 126 #define HAVE_INET_ATON 1 129 #define HAVE_INET_NTOP 1 132 #define HAVE_INET_PTON 1 135 #define HAVE_INTTYPES_H 1 141 #define HAVE_ISASCII 1 144 #define HAVE_ISBLANK 1 147 #define HAVE_LIBPCAP 1 153 #define HAVE_LOCALTIME_R 1 157 #define HAVE_MALLOC 1 160 #define HAVE_MEMMOVE 1 163 #define HAVE_MEMORY_H 1 166 #define HAVE_MEMSET 1 169 #define HAVE_NETDB_H 1 172 #define HAVE_NETINET_IF_ETHER_H 1 175 #define HAVE_NETINET_IGMP_H 1 178 #define HAVE_NETINET_IN_H 1 181 #define HAVE_NETINET_IN_SYSTM_H 1 184 #define HAVE_NETINET_IP6_H 1 190 #define HAVE_NETINET_IP_H 1 193 #define HAVE_NETINET_UDP_H 1 196 #define HAVE_NET_ETHERNET_H 1 199 #define HAVE_NET_IF_H 1 202 #define HAVE_OPENSSL_ERR_H 1 205 #define HAVE_OPENSSL_RAND_H 1 208 #define HAVE_OPENSSL_SSL_H 1 211 #define HAVE_PCAP_H 1 217 #define HAVE_PYTHON "2.7" 220 #define HAVE_RANDOM 1 224 #define HAVE_REALLOC 1 230 #define HAVE_SNPRINTF 1 236 #define HAVE_STDARG_H 1 239 #define HAVE_STDBOOL_H 1 242 #define HAVE_STDINT_H 1 245 #define HAVE_STDLIB_H 1 248 #define HAVE_STRINGS_H 1 251 #define HAVE_STRING_H 1 254 #define HAVE_STRLCPY 1 257 #define HAVE_STRTOUL 1 263 #define HAVE_SYS_MOUNT_H 1 266 #define HAVE_SYS_PARAM_H 1 269 #define HAVE_SYS_SOCKET_H 1 272 #define HAVE_SYS_STAT_H 1 275 #define HAVE_SYS_TYPES_H 1 278 #define HAVE_TIMEGM 1 281 #define HAVE_TIME_H 1 284 #define HAVE_UNISTD_H 1 296 #define HAVE_WORKING_FORK 1 299 #define HAVE_WORKING_VFORK 1 315 #define LT_OBJDIR ".libs/" 318 #define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl" 321 #define PACKAGE_NAME "ldns" 324 #define PACKAGE_STRING "ldns 1.7.0" 327 #define PACKAGE_TARNAME "libdns" 330 #define PACKAGE_URL "" 333 #define PACKAGE_VERSION "1.7.0" 342 #define RRTYPE_OPENPGPKEY 351 #define SIZEOF_TIME_T 8 354 #define STDC_HEADERS 1 360 #define SYSCONFDIR sysconfdir 369 #define USE_DANE_VERIFY 1 391 # define _ALL_SOURCE 1 395 # define _GNU_SOURCE 1 398 #ifndef _POSIX_PTHREAD_SEMANTICS 399 # define _POSIX_PTHREAD_SEMANTICS 1 402 #ifndef _TANDEM_SOURCE 403 # define _TANDEM_SOURCE 1 406 #ifndef __EXTENSIONS__ 407 # define __EXTENSIONS__ 1 415 #define WINVER 0x0502 419 #if defined AC_APPLE_UNIVERSAL_BUILD 420 # if defined __BIG_ENDIAN__ 421 # define WORDS_BIGENDIAN 1 424 # ifndef WORDS_BIGENDIAN 514 #ifndef LITTLE_ENDIAN 515 #define LITTLE_ENDIAN 1234 519 #define BIG_ENDIAN 4321 523 #ifdef WORDS_BIGENDIAN 524 #define BYTE_ORDER BIG_ENDIAN 526 #define BYTE_ORDER LITTLE_ENDIAN 539 #ifdef HAVE_SYS_SOCKET_H 540 #include <sys/socket.h> 543 #ifdef HAVE_NETINET_IN_H 544 #include <netinet/in.h> 547 #ifdef HAVE_ARPA_INET_H 548 #include <arpa/inet.h> 551 #ifdef HAVE_WINSOCK2_H 552 #include <winsock2.h> 555 #ifdef HAVE_WS2TCPIP_H 556 #include <ws2tcpip.h> 561 #ifdef HAVE_WINSOCK2_H 562 #define FD_SET_T (u_int) 575 char *target,
size_t targsize);
580 static inline size_t ldns_b64_ntop_calculate_size(
size_t srcsize)
582 return ((((srcsize + 2) / 3) * 4) + 1);
584 int ldns_b64_pton(
char const *src, uint8_t *target,
size_t targsize);
589 static inline size_t ldns_b64_pton_calculate_size(
size_t srcsize)
591 return (((((srcsize + 3) / 4) * 3)) + 1);
602 #define sleep(x) Sleep((x)*1000) 606 #define srandom(x) srand(x) 607 #define random(x) rand(x) 612 time_t timegm (
struct tm *tm);
614 #ifndef HAVE_GMTIME_R 615 struct tm *gmtime_r(
const time_t *timep,
struct tm *result);
617 #ifndef HAVE_LOCALTIME_R 618 struct tm *localtime_r(
const time_t *timep,
struct tm *result);
626 #ifndef HAVE_SNPRINTF 628 int snprintf (
char *str,
size_t count,
const char *fmt, ...);
629 int vsnprintf (
char *str,
size_t count,
const char *fmt, va_list arg);
631 #ifndef HAVE_INET_PTON 632 int inet_pton(
int af,
const char* src,
void* dst);
634 #ifndef HAVE_INET_NTOP 635 const char *inet_ntop(
int af,
const void *src,
char *dst,
size_t size);
637 #ifndef HAVE_INET_ATON 638 int inet_aton(
const char *cp,
struct in_addr *addr);
641 void *memmove(
void *dest,
const void *src,
size_t n);
644 size_t strlcpy(
char *dst,
const char *src,
size_t siz);
648 #define SOCK_INVALID INVALID_SOCKET 649 #define close_socket(_s) do { if (_s > SOCK_INVALID) {closesocket(_s); _s = SOCK_INVALID;} } while(0) 651 #define SOCK_INVALID -1 652 #define close_socket(_s) do { if (_s > SOCK_INVALID) {close(_s); _s = SOCK_INVALID;} } while(0) 658 #ifndef HAVE_GETADDRINFO 659 #include "compat/fake-rfc2553.h" 662 #define strtoul (unsigned long)strtol int ldns_b64_ntop(uint8_t const *src, size_t srclength, char *target, size_t targsize)
int ldns_dname_compare_v(const void *a, const void *b)
Given in dnssec_zone.c, also used in dnssec_sign.c:w.
int ldns_b64_pton(char const *src, uint8_t *target, size_t targsize)