8#define HAVE_ARPA_INET_H 1
11#define HAVE_ATTR_FORMAT 1
14#define HAVE_ATTR_UNUSED 1
35#define HAVE_CONF_MODULES_UNLOAD 1
41#define HAVE_CRYPTO_MEMCMP 1
47#define HAVE_DANE_CA_FILE 0
50#define HAVE_DANE_CA_PATH 0
54#define HAVE_DECL_EVP_PKEY_BASE_ID 1
58#define HAVE_DECL_NID_ED25519 1
62#define HAVE_DECL_NID_ED448 1
66#define HAVE_DECL_NID_SECP384R1 1
70#define HAVE_DECL_NID_X9_62_PRIME256V1 1
76#define HAVE_DSA_GET0_KEY 1
79#define HAVE_DSA_GET0_PQG 1
82#define HAVE_DSA_SIG_GET0 1
85#define HAVE_DSA_SIG_SET0 1
88#define HAVE_ECDSA_SIG_GET0 1
91#define HAVE_ENDPROTOENT 1
94#define HAVE_ENDSERVENT 1
100#define HAVE_ENGINE_FREE 1
115#define HAVE_EVP_MD_CTX_NEW 1
118#define HAVE_EVP_PKEY_BASE_ID 1
121#define HAVE_EVP_PKEY_GET_BASE_ID 1
124#define HAVE_EVP_PKEY_KEYGEN 1
127#define HAVE_EVP_SHA256 1
130#define HAVE_EVP_SHA384 1
133#define HAVE_EVP_SHA512 1
142#define HAVE_FORK_AVAILABLE 1
145#define HAVE_GETADDRINFO 1
148#define HAVE_GETOPT_H 1
151#define HAVE_GMTIME_R 1
154#define HAVE_INET_ATON 1
157#define HAVE_INET_NTOP 1
160#define HAVE_INET_PTON 1
163#define HAVE_INTTYPES_H 1
169#define HAVE_ISASCII 1
172#define HAVE_ISBLANK 1
175#define HAVE_LIBPCAP 1
181#define HAVE_LOCALTIME_R 1
184#define HAVE_MEMMOVE 1
193#define HAVE_NETDB_H 1
196#define HAVE_NETINET_IF_ETHER_H 1
199#define HAVE_NETINET_IGMP_H 1
202#define HAVE_NETINET_IN_H 1
205#define HAVE_NETINET_IN_SYSTM_H 1
208#define HAVE_NETINET_IP6_H 1
214#define HAVE_NETINET_IP_H 1
217#define HAVE_NETINET_UDP_H 1
220#define HAVE_NET_ETHERNET_H 1
223#define HAVE_NET_IF_H 1
226#define HAVE_OPENSSL_CONF_H 1
229#define HAVE_OPENSSL_ENGINE_H 1
232#define HAVE_OPENSSL_ERR_H 1
235#define HAVE_OPENSSL_EVP_H 1
238#define HAVE_OPENSSL_INIT_CRYPTO 1
244#define HAVE_OPENSSL_RAND_H 1
247#define HAVE_OPENSSL_SSL_H 1
256#define HAVE_PYTHON "3.12"
265#define HAVE_SNPRINTF 1
271#define HAVE_STDARG_H 1
274#define HAVE_STDBOOL_H 1
277#define HAVE_STDINT_H 1
280#define HAVE_STDIO_H 1
283#define HAVE_STDLIB_H 1
286#define HAVE_STRINGS_H 1
289#define HAVE_STRING_H 1
292#define HAVE_STRLCPY 1
295#define HAVE_STRTOUL 1
301#define HAVE_SYS_MOUNT_H 1
304#define HAVE_SYS_PARAM_H 1
307#define HAVE_SYS_SOCKET_H 1
310#define HAVE_SYS_STAT_H 1
313#define HAVE_SYS_TYPES_H 1
325#define HAVE_UNISTD_H 1
334#define HAVE_WCHAR_H 1
340#define HAVE_WORKING_FORK 1
343#define HAVE_WORKING_VFORK 1
358#define LT_OBJDIR ".libs/"
361#define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl"
364#define PACKAGE_NAME "ldns"
367#define PACKAGE_STRING "ldns 1.8.3"
370#define PACKAGE_TARNAME "libdns"
373#define PACKAGE_URL ""
376#define PACKAGE_VERSION "1.8.3"
391#define RRTYPE_OPENPGPKEY
397#define RRTYPE_SVCB_HTTPS
403#define SIZEOF_TIME_T 4
408#define STDC_HEADERS 1
414#define SYSCONFDIR sysconfdir
420#define USE_DANE_TA_USAGE 1
423#define USE_DANE_VERIFY 1
445# define _ALL_SOURCE 1
448#ifndef _DARWIN_C_SOURCE
449# define _DARWIN_C_SOURCE 1
452#ifndef __EXTENSIONS__
453# define __EXTENSIONS__ 1
457# define _GNU_SOURCE 1
461#ifndef _HPUX_ALT_XOPEN_SOCKET_API
462# define _HPUX_ALT_XOPEN_SOCKET_API 1
472#ifndef _NETBSD_SOURCE
473# define _NETBSD_SOURCE 1
477#ifndef _OPENBSD_SOURCE
478# define _OPENBSD_SOURCE 1
485#ifndef _POSIX_1_SOURCE
489#ifndef _POSIX_PTHREAD_SEMANTICS
490# define _POSIX_PTHREAD_SEMANTICS 1
493#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
494# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
497#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
498# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
501#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
502# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
505#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
506# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
509#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
510# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
513#ifndef __STDC_WANT_LIB_EXT2__
514# define __STDC_WANT_LIB_EXT2__ 1
517#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
518# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
521#ifndef _TANDEM_SOURCE
522# define _TANDEM_SOURCE 1
539#if defined AC_APPLE_UNIVERSAL_BUILD
540# if defined __BIG_ENDIAN__
541# define WORDS_BIGENDIAN 1
544# ifndef WORDS_BIGENDIAN
550#define _NETBSD_SOURCE 1
619#define LITTLE_ENDIAN 1234
623#define BIG_ENDIAN 4321
627#ifdef WORDS_BIGENDIAN
628#define BYTE_ORDER BIG_ENDIAN
630#define BYTE_ORDER LITTLE_ENDIAN
643#ifdef HAVE_SYS_SOCKET_H
644#include <sys/socket.h>
647#ifdef HAVE_NETINET_IN_H
648#include <netinet/in.h>
651#ifdef HAVE_ARPA_INET_H
652#include <arpa/inet.h>
655#ifdef HAVE_WINSOCK2_H
659#ifdef HAVE_WS2TCPIP_H
665#ifdef HAVE_WINSOCK2_H
666#define FD_SET_T (u_int)
679 char *target,
size_t targsize);
684static inline size_t ldns_b64_ntop_calculate_size(
size_t srcsize)
686 return ((((srcsize + 2) / 3) * 4) + 1);
693static inline size_t ldns_b64_pton_calculate_size(
size_t srcsize)
695 return (((((srcsize + 3) / 4) * 3)) + 1);
706#define sleep(x) Sleep((x)*1000)
710#define srandom(x) srand(x)
711#define random(x) rand(x)
716time_t timegm (
struct tm *tm);
719struct tm *gmtime_r(
const time_t *timep,
struct tm *result);
721#ifndef HAVE_LOCALTIME_R
722struct tm *localtime_r(
const time_t *timep,
struct tm *result);
732int snprintf (
char *str,
size_t count,
const char *fmt, ...);
733int vsnprintf (
char *str,
size_t count,
const char *fmt, va_list arg);
735#ifndef HAVE_INET_PTON
736int inet_pton(
int af,
const char* src,
void* dst);
738#ifndef HAVE_INET_NTOP
739const char *inet_ntop(
int af,
const void *src,
char *dst,
size_t size);
741#ifndef HAVE_INET_ATON
742int inet_aton(
const char *cp,
struct in_addr *addr);
745void *memmove(
void *dest,
const void *src,
size_t n);
748size_t strlcpy(
char *dst,
const char *src,
size_t siz);
752#define SOCK_INVALID INVALID_SOCKET
753#define close_socket(_s) do { if (_s != SOCK_INVALID) {closesocket(_s); _s = -1;} } while(0)
755#define SOCK_INVALID -1
756#define close_socket(_s) do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0)
762#ifndef HAVE_GETADDRINFO
763#include "compat/fake-rfc2553.h"
766#define strtoul (unsigned long)strtol
int ldns_b64_ntop(uint8_t const *src, size_t srclength, char *target, size_t targsize)
int ldns_b64_pton(char const *src, uint8_t *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.