8 #define HAVE_ARPA_INET_H 1 11 #define HAVE_ATTR_FORMAT 1 14 #define HAVE_ATTR_UNUSED 1 35 #define HAVE_CRYPTO_MEMCMP 1 38 #define HAVE_CTIME_R 1 41 #define HAVE_DANE_CA_FILE 0 44 #define HAVE_DANE_CA_PATH 0 48 #define HAVE_DECL_NID_ED25519 1 52 #define HAVE_DECL_NID_ED448 1 56 #define HAVE_DECL_NID_SECP384R1 1 60 #define HAVE_DECL_NID_X9_62_PRIME256V1 1 63 #define HAVE_DLFCN_H 1 66 #define HAVE_DSA_GET0_KEY 1 69 #define HAVE_DSA_GET0_PQG 1 72 #define HAVE_DSA_SIG_GET0 1 75 #define HAVE_DSA_SIG_SET0 1 78 #define HAVE_ECDSA_SIG_GET0 1 81 #define HAVE_ENDPROTOENT 1 84 #define HAVE_ENDSERVENT 1 96 #define HAVE_EVP_MD_CTX_NEW 1 99 #define HAVE_EVP_PKEY_BASE_ID 1 102 #define HAVE_EVP_PKEY_KEYGEN 1 105 #define HAVE_EVP_SHA256 1 108 #define HAVE_EVP_SHA384 1 111 #define HAVE_EVP_SHA512 1 120 #define HAVE_GETADDRINFO 1 123 #define HAVE_GETOPT_H 1 126 #define HAVE_GMTIME_R 1 129 #define HAVE_HMAC_UPDATE 1 132 #define HAVE_INET_ATON 1 135 #define HAVE_INET_NTOP 1 138 #define HAVE_INET_PTON 1 141 #define HAVE_INTTYPES_H 1 147 #define HAVE_ISASCII 1 150 #define HAVE_ISBLANK 1 153 #define HAVE_LIBPCAP 1 159 #define HAVE_LOCALTIME_R 1 163 #define HAVE_MALLOC 1 166 #define HAVE_MEMMOVE 1 169 #define HAVE_MEMORY_H 1 172 #define HAVE_MEMSET 1 175 #define HAVE_NETDB_H 1 178 #define HAVE_NETINET_IF_ETHER_H 1 181 #define HAVE_NETINET_IGMP_H 1 184 #define HAVE_NETINET_IN_H 1 187 #define HAVE_NETINET_IN_SYSTM_H 1 190 #define HAVE_NETINET_IP6_H 1 196 #define HAVE_NETINET_IP_H 1 199 #define HAVE_NETINET_UDP_H 1 202 #define HAVE_NET_ETHERNET_H 1 205 #define HAVE_NET_IF_H 1 208 #define HAVE_OPENSSL_ERR_H 1 211 #define HAVE_OPENSSL_INIT_CRYPTO 1 217 #define HAVE_OPENSSL_RAND_H 1 220 #define HAVE_OPENSSL_SSL_H 1 223 #define HAVE_PCAP_H 1 229 #define HAVE_PYTHON "3.7" 232 #define HAVE_RANDOM 1 236 #define HAVE_REALLOC 1 242 #define HAVE_SNPRINTF 1 248 #define HAVE_STDARG_H 1 251 #define HAVE_STDBOOL_H 1 254 #define HAVE_STDINT_H 1 257 #define HAVE_STDLIB_H 1 260 #define HAVE_STRINGS_H 1 263 #define HAVE_STRING_H 1 266 #define HAVE_STRLCPY 1 269 #define HAVE_STRTOUL 1 275 #define HAVE_SYS_MOUNT_H 1 278 #define HAVE_SYS_PARAM_H 1 281 #define HAVE_SYS_SOCKET_H 1 284 #define HAVE_SYS_STAT_H 1 287 #define HAVE_SYS_TYPES_H 1 290 #define HAVE_TIMEGM 1 293 #define HAVE_TIME_H 1 296 #define HAVE_UNISTD_H 1 308 #define HAVE_WORKING_FORK 1 311 #define HAVE_WORKING_VFORK 1 326 #define LT_OBJDIR ".libs/" 329 #define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl" 332 #define PACKAGE_NAME "ldns" 335 #define PACKAGE_STRING "ldns 1.7.1" 338 #define PACKAGE_TARNAME "libdns" 341 #define PACKAGE_URL "" 344 #define PACKAGE_VERSION "1.7.1" 359 #define RRTYPE_OPENPGPKEY 368 #define SIZEOF_TIME_T 8 371 #define STDC_HEADERS 1 377 #define SYSCONFDIR sysconfdir 386 #define USE_DANE_VERIFY 1 395 #define USE_ED25519 1 408 # define _ALL_SOURCE 1 412 # define _GNU_SOURCE 1 415 #ifndef _POSIX_PTHREAD_SEMANTICS 416 # define _POSIX_PTHREAD_SEMANTICS 1 419 #ifndef _TANDEM_SOURCE 420 # define _TANDEM_SOURCE 1 423 #ifndef __EXTENSIONS__ 424 # define __EXTENSIONS__ 1 432 #define WINVER 0x0502 436 #if defined AC_APPLE_UNIVERSAL_BUILD 437 # if defined __BIG_ENDIAN__ 438 # define WORDS_BIGENDIAN 1 441 # ifndef WORDS_BIGENDIAN 531 #ifndef LITTLE_ENDIAN 532 #define LITTLE_ENDIAN 1234 536 #define BIG_ENDIAN 4321 540 #ifdef WORDS_BIGENDIAN 541 #define BYTE_ORDER BIG_ENDIAN 543 #define BYTE_ORDER LITTLE_ENDIAN 556 #ifdef HAVE_SYS_SOCKET_H 557 #include <sys/socket.h> 560 #ifdef HAVE_NETINET_IN_H 561 #include <netinet/in.h> 564 #ifdef HAVE_ARPA_INET_H 565 #include <arpa/inet.h> 568 #ifdef HAVE_WINSOCK2_H 569 #include <winsock2.h> 572 #ifdef HAVE_WS2TCPIP_H 573 #include <ws2tcpip.h> 578 #ifdef HAVE_WINSOCK2_H 579 #define FD_SET_T (u_int) 592 char *target,
size_t targsize);
597 static inline size_t ldns_b64_ntop_calculate_size(
size_t srcsize)
599 return ((((srcsize + 2) / 3) * 4) + 1);
601 int ldns_b64_pton(
char const *src, uint8_t *target,
size_t targsize);
606 static inline size_t ldns_b64_pton_calculate_size(
size_t srcsize)
608 return (((((srcsize + 3) / 4) * 3)) + 1);
619 #define sleep(x) Sleep((x)*1000) 623 #define srandom(x) srand(x) 624 #define random(x) rand(x) 629 time_t timegm (
struct tm *tm);
631 #ifndef HAVE_GMTIME_R 632 struct tm *gmtime_r(
const time_t *timep,
struct tm *result);
634 #ifndef HAVE_LOCALTIME_R 635 struct tm *localtime_r(
const time_t *timep,
struct tm *result);
643 #ifndef HAVE_SNPRINTF 645 int snprintf (
char *str,
size_t count,
const char *fmt, ...);
646 int vsnprintf (
char *str,
size_t count,
const char *fmt, va_list arg);
648 #ifndef HAVE_INET_PTON 649 int inet_pton(
int af,
const char* src,
void* dst);
651 #ifndef HAVE_INET_NTOP 652 const char *inet_ntop(
int af,
const void *src,
char *dst,
size_t size);
654 #ifndef HAVE_INET_ATON 655 int inet_aton(
const char *cp,
struct in_addr *addr);
658 void *memmove(
void *dest,
const void *src,
size_t n);
661 size_t strlcpy(
char *dst,
const char *src,
size_t siz);
665 #define SOCK_INVALID INVALID_SOCKET 666 #define close_socket(_s) do { if (_s != SOCK_INVALID) {closesocket(_s); _s = -1;} } while(0) 668 #define SOCK_INVALID -1 669 #define close_socket(_s) do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0) 675 #ifndef HAVE_GETADDRINFO 676 #include "compat/fake-rfc2553.h" 679 #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)