config.h File Reference

Go to the source code of this file.

Macros

#define HAVE_ARPA_INET_H   1
 
#define HAVE_ATTR_FORMAT   1
 
#define HAVE_ATTR_UNUSED   1
 
#define HAVE_BZERO   1
 
#define HAVE_CALLOC   1
 
#define HAVE_CONF_MODULES_UNLOAD   1
 
#define HAVE_CRYPTO_MEMCMP   1
 
#define HAVE_CTIME_R   1
 
#define HAVE_DANE_CA_FILE   0
 
#define HAVE_DANE_CA_PATH   0
 
#define HAVE_DECL_EVP_PKEY_BASE_ID   1
 
#define HAVE_DECL_NID_ED25519   1
 
#define HAVE_DECL_NID_ED448   1
 
#define HAVE_DECL_NID_SECP384R1   1
 
#define HAVE_DECL_NID_X9_62_PRIME256V1   1
 
#define HAVE_DLFCN_H   1
 
#define HAVE_DSA_GET0_KEY   1
 
#define HAVE_DSA_GET0_PQG   1
 
#define HAVE_DSA_SIG_GET0   1
 
#define HAVE_DSA_SIG_SET0   1
 
#define HAVE_ECDSA_SIG_GET0   1
 
#define HAVE_ENDPROTOENT   1
 
#define HAVE_ENDSERVENT   1
 
#define HAVE_ENGINE_FREE   1
 
#define HAVE_EVP_MD_CTX_NEW   1
 
#define HAVE_EVP_PKEY_BASE_ID   1
 
#define HAVE_EVP_PKEY_GET_BASE_ID   1
 
#define HAVE_EVP_PKEY_KEYGEN   1
 
#define HAVE_EVP_SHA256   1
 
#define HAVE_EVP_SHA384   1
 
#define HAVE_EVP_SHA512   1
 
#define HAVE_FCNTL   1
 
#define HAVE_FORK   1
 
#define HAVE_FORK_AVAILABLE   1
 
#define HAVE_GETADDRINFO   1
 
#define HAVE_GETOPT_H   1
 
#define HAVE_GMTIME_R   1
 
#define HAVE_INET_ATON   1
 
#define HAVE_INET_NTOP   1
 
#define HAVE_INET_PTON   1
 
#define HAVE_INTTYPES_H   1
 
#define HAVE_ISASCII   1
 
#define HAVE_ISBLANK   1
 
#define HAVE_LOCALTIME_R   1
 
#define HAVE_MEMMOVE   1
 
#define HAVE_MEMSET   1
 
#define HAVE_NETDB_H   1
 
#define HAVE_NETINET_IN_H   1
 
#define HAVE_OPENSSL_CONF_H   1
 
#define HAVE_OPENSSL_ENGINE_H   1
 
#define HAVE_OPENSSL_ERR_H   1
 
#define HAVE_OPENSSL_EVP_H   1
 
#define HAVE_OPENSSL_INIT_CRYPTO   1
 
#define HAVE_OPENSSL_RAND_H   1
 
#define HAVE_OPENSSL_SSL_H   1
 
#define HAVE_POLL   1
 
#define HAVE_RANDOM   1
 
#define HAVE_SLEEP   1
 
#define HAVE_SNPRINTF   1
 
#define HAVE_SSL
 
#define HAVE_STDARG_H   1
 
#define HAVE_STDBOOL_H   1
 
#define HAVE_STDINT_H   1
 
#define HAVE_STDIO_H   1
 
#define HAVE_STDLIB_H   1
 
#define HAVE_STRINGS_H   1
 
#define HAVE_STRING_H   1
 
#define HAVE_STRTOUL   1
 
#define HAVE_SYS_MOUNT_H   1
 
#define HAVE_SYS_PARAM_H   1
 
#define HAVE_SYS_SOCKET_H   1
 
#define HAVE_SYS_STAT_H   1
 
#define HAVE_SYS_TYPES_H   1
 
#define HAVE_TIMEGM   1
 
#define HAVE_TIME_H   1
 
#define HAVE_UNISTD_H   1
 
#define HAVE_VFORK   1
 
#define HAVE_WCHAR_H   1
 
#define HAVE_WORKING_FORK   1
 
#define HAVE_WORKING_VFORK   1
 
#define HAVE__BOOL   1
 
#define LT_OBJDIR   ".libs/"
 
#define PACKAGE_BUGREPORT   "libdns@nlnetlabs.nl"
 
#define PACKAGE_NAME   "ldns"
 
#define PACKAGE_STRING   "ldns 1.8.3"
 
#define PACKAGE_TARNAME   "libdns"
 
#define PACKAGE_URL   ""
 
#define PACKAGE_VERSION   "1.8.3"
 
#define RRTYPE_OPENPGPKEY
 
#define RRTYPE_SVCB_HTTPS
 
#define SIZEOF_TIME_T   8
 
#define STDC_HEADERS   1
 
#define SYSCONFDIR   sysconfdir
 
#define USE_DANE   1
 
#define USE_DSA   1
 
#define USE_ECDSA   1
 
#define USE_ED25519   1
 
#define USE_ED448   1
 
#define USE_SHA2   1
 
#define _ALL_SOURCE   1
 
#define _DARWIN_C_SOURCE   1
 
#define __EXTENSIONS__   1
 
#define _GNU_SOURCE   1
 
#define _HPUX_ALT_XOPEN_SOCKET_API   1
 
#define _NETBSD_SOURCE   1
 
#define _OPENBSD_SOURCE   1
 
#define _POSIX_PTHREAD_SEMANTICS   1
 
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__   1
 
#define __STDC_WANT_IEC_60559_BFP_EXT__   1
 
#define __STDC_WANT_IEC_60559_DFP_EXT__   1
 
#define __STDC_WANT_IEC_60559_FUNCS_EXT__   1
 
#define __STDC_WANT_IEC_60559_TYPES_EXT__   1
 
#define __STDC_WANT_LIB_EXT2__   1
 
#define __STDC_WANT_MATH_SPEC_FUNCS__   1
 
#define _TANDEM_SOURCE   1
 
#define WINVER   0x0502
 
#define _NETBSD_SOURCE   1
 
#define LITTLE_ENDIAN   1234
 
#define BIG_ENDIAN   4321
 
#define BYTE_ORDER   LITTLE_ENDIAN
 
#define FD_SET_T
 
#define SOCK_INVALID   -1
 
#define close_socket(_s)   do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0)
 

Functions

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. More...
 
size_t strlcpy (char *dst, const char *src, size_t siz)
 

Macro Definition Documentation

◆ HAVE_ARPA_INET_H

#define HAVE_ARPA_INET_H   1

Definition at line 8 of file config.h.

◆ HAVE_ATTR_FORMAT

#define HAVE_ATTR_FORMAT   1

Definition at line 11 of file config.h.

◆ HAVE_ATTR_UNUSED

#define HAVE_ATTR_UNUSED   1

Definition at line 14 of file config.h.

◆ HAVE_BZERO

#define HAVE_BZERO   1

Definition at line 29 of file config.h.

◆ HAVE_CALLOC

#define HAVE_CALLOC   1

Definition at line 32 of file config.h.

◆ HAVE_CONF_MODULES_UNLOAD

#define HAVE_CONF_MODULES_UNLOAD   1

Definition at line 35 of file config.h.

◆ HAVE_CRYPTO_MEMCMP

#define HAVE_CRYPTO_MEMCMP   1

Definition at line 41 of file config.h.

◆ HAVE_CTIME_R

#define HAVE_CTIME_R   1

Definition at line 44 of file config.h.

◆ HAVE_DANE_CA_FILE

#define HAVE_DANE_CA_FILE   0

Definition at line 47 of file config.h.

◆ HAVE_DANE_CA_PATH

#define HAVE_DANE_CA_PATH   0

Definition at line 50 of file config.h.

◆ HAVE_DECL_EVP_PKEY_BASE_ID

#define HAVE_DECL_EVP_PKEY_BASE_ID   1

Definition at line 54 of file config.h.

◆ HAVE_DECL_NID_ED25519

#define HAVE_DECL_NID_ED25519   1

Definition at line 58 of file config.h.

◆ HAVE_DECL_NID_ED448

#define HAVE_DECL_NID_ED448   1

Definition at line 62 of file config.h.

◆ HAVE_DECL_NID_SECP384R1

#define HAVE_DECL_NID_SECP384R1   1

Definition at line 66 of file config.h.

◆ HAVE_DECL_NID_X9_62_PRIME256V1

#define HAVE_DECL_NID_X9_62_PRIME256V1   1

Definition at line 70 of file config.h.

◆ HAVE_DLFCN_H

#define HAVE_DLFCN_H   1

Definition at line 73 of file config.h.

◆ HAVE_DSA_GET0_KEY

#define HAVE_DSA_GET0_KEY   1

Definition at line 76 of file config.h.

◆ HAVE_DSA_GET0_PQG

#define HAVE_DSA_GET0_PQG   1

Definition at line 79 of file config.h.

◆ HAVE_DSA_SIG_GET0

#define HAVE_DSA_SIG_GET0   1

Definition at line 82 of file config.h.

◆ HAVE_DSA_SIG_SET0

#define HAVE_DSA_SIG_SET0   1

Definition at line 85 of file config.h.

◆ HAVE_ECDSA_SIG_GET0

#define HAVE_ECDSA_SIG_GET0   1

Definition at line 88 of file config.h.

◆ HAVE_ENDPROTOENT

#define HAVE_ENDPROTOENT   1

Definition at line 91 of file config.h.

◆ HAVE_ENDSERVENT

#define HAVE_ENDSERVENT   1

Definition at line 94 of file config.h.

◆ HAVE_ENGINE_FREE

#define HAVE_ENGINE_FREE   1

Definition at line 100 of file config.h.

◆ HAVE_EVP_MD_CTX_NEW

#define HAVE_EVP_MD_CTX_NEW   1

Definition at line 115 of file config.h.

◆ HAVE_EVP_PKEY_BASE_ID

#define HAVE_EVP_PKEY_BASE_ID   1

Definition at line 118 of file config.h.

◆ HAVE_EVP_PKEY_GET_BASE_ID

#define HAVE_EVP_PKEY_GET_BASE_ID   1

Definition at line 121 of file config.h.

◆ HAVE_EVP_PKEY_KEYGEN

#define HAVE_EVP_PKEY_KEYGEN   1

Definition at line 124 of file config.h.

◆ HAVE_EVP_SHA256

#define HAVE_EVP_SHA256   1

Definition at line 127 of file config.h.

◆ HAVE_EVP_SHA384

#define HAVE_EVP_SHA384   1

Definition at line 130 of file config.h.

◆ HAVE_EVP_SHA512

#define HAVE_EVP_SHA512   1

Definition at line 133 of file config.h.

◆ HAVE_FCNTL

#define HAVE_FCNTL   1

Definition at line 136 of file config.h.

◆ HAVE_FORK

#define HAVE_FORK   1

Definition at line 139 of file config.h.

◆ HAVE_FORK_AVAILABLE

#define HAVE_FORK_AVAILABLE   1

Definition at line 142 of file config.h.

◆ HAVE_GETADDRINFO

#define HAVE_GETADDRINFO   1

Definition at line 145 of file config.h.

◆ HAVE_GETOPT_H

#define HAVE_GETOPT_H   1

Definition at line 148 of file config.h.

◆ HAVE_GMTIME_R

#define HAVE_GMTIME_R   1

Definition at line 151 of file config.h.

◆ HAVE_INET_ATON

#define HAVE_INET_ATON   1

Definition at line 154 of file config.h.

◆ HAVE_INET_NTOP

#define HAVE_INET_NTOP   1

Definition at line 157 of file config.h.

◆ HAVE_INET_PTON

#define HAVE_INET_PTON   1

Definition at line 160 of file config.h.

◆ HAVE_INTTYPES_H

#define HAVE_INTTYPES_H   1

Definition at line 163 of file config.h.

◆ HAVE_ISASCII

#define HAVE_ISASCII   1

Definition at line 169 of file config.h.

◆ HAVE_ISBLANK

#define HAVE_ISBLANK   1

Definition at line 172 of file config.h.

◆ HAVE_LOCALTIME_R

#define HAVE_LOCALTIME_R   1

Definition at line 181 of file config.h.

◆ HAVE_MEMMOVE

#define HAVE_MEMMOVE   1

Definition at line 184 of file config.h.

◆ HAVE_MEMSET

#define HAVE_MEMSET   1

Definition at line 187 of file config.h.

◆ HAVE_NETDB_H

#define HAVE_NETDB_H   1

Definition at line 193 of file config.h.

◆ HAVE_NETINET_IN_H

#define HAVE_NETINET_IN_H   1

Definition at line 202 of file config.h.

◆ HAVE_OPENSSL_CONF_H

#define HAVE_OPENSSL_CONF_H   1

Definition at line 226 of file config.h.

◆ HAVE_OPENSSL_ENGINE_H

#define HAVE_OPENSSL_ENGINE_H   1

Definition at line 229 of file config.h.

◆ HAVE_OPENSSL_ERR_H

#define HAVE_OPENSSL_ERR_H   1

Definition at line 232 of file config.h.

◆ HAVE_OPENSSL_EVP_H

#define HAVE_OPENSSL_EVP_H   1

Definition at line 235 of file config.h.

◆ HAVE_OPENSSL_INIT_CRYPTO

#define HAVE_OPENSSL_INIT_CRYPTO   1

Definition at line 238 of file config.h.

◆ HAVE_OPENSSL_RAND_H

#define HAVE_OPENSSL_RAND_H   1

Definition at line 244 of file config.h.

◆ HAVE_OPENSSL_SSL_H

#define HAVE_OPENSSL_SSL_H   1

Definition at line 247 of file config.h.

◆ HAVE_POLL

#define HAVE_POLL   1

Definition at line 253 of file config.h.

◆ HAVE_RANDOM

#define HAVE_RANDOM   1

Definition at line 259 of file config.h.

◆ HAVE_SLEEP

#define HAVE_SLEEP   1

Definition at line 262 of file config.h.

◆ HAVE_SNPRINTF

#define HAVE_SNPRINTF   1

Definition at line 265 of file config.h.

◆ HAVE_SSL

#define HAVE_SSL

Definition at line 268 of file config.h.

◆ HAVE_STDARG_H

#define HAVE_STDARG_H   1

Definition at line 271 of file config.h.

◆ HAVE_STDBOOL_H

#define HAVE_STDBOOL_H   1

Definition at line 274 of file config.h.

◆ HAVE_STDINT_H

#define HAVE_STDINT_H   1

Definition at line 277 of file config.h.

◆ HAVE_STDIO_H

#define HAVE_STDIO_H   1

Definition at line 280 of file config.h.

◆ HAVE_STDLIB_H

#define HAVE_STDLIB_H   1

Definition at line 283 of file config.h.

◆ HAVE_STRINGS_H

#define HAVE_STRINGS_H   1

Definition at line 286 of file config.h.

◆ HAVE_STRING_H

#define HAVE_STRING_H   1

Definition at line 289 of file config.h.

◆ HAVE_STRTOUL

#define HAVE_STRTOUL   1

Definition at line 295 of file config.h.

◆ HAVE_SYS_MOUNT_H

#define HAVE_SYS_MOUNT_H   1

Definition at line 301 of file config.h.

◆ HAVE_SYS_PARAM_H

#define HAVE_SYS_PARAM_H   1

Definition at line 304 of file config.h.

◆ HAVE_SYS_SOCKET_H

#define HAVE_SYS_SOCKET_H   1

Definition at line 307 of file config.h.

◆ HAVE_SYS_STAT_H

#define HAVE_SYS_STAT_H   1

Definition at line 310 of file config.h.

◆ HAVE_SYS_TYPES_H

#define HAVE_SYS_TYPES_H   1

Definition at line 313 of file config.h.

◆ HAVE_TIMEGM

#define HAVE_TIMEGM   1

Definition at line 319 of file config.h.

◆ HAVE_TIME_H

#define HAVE_TIME_H   1

Definition at line 322 of file config.h.

◆ HAVE_UNISTD_H

#define HAVE_UNISTD_H   1

Definition at line 325 of file config.h.

◆ HAVE_VFORK

#define HAVE_VFORK   1

Definition at line 328 of file config.h.

◆ HAVE_WCHAR_H

#define HAVE_WCHAR_H   1

Definition at line 334 of file config.h.

◆ HAVE_WORKING_FORK

#define HAVE_WORKING_FORK   1

Definition at line 340 of file config.h.

◆ HAVE_WORKING_VFORK

#define HAVE_WORKING_VFORK   1

Definition at line 343 of file config.h.

◆ HAVE__BOOL

#define HAVE__BOOL   1

Definition at line 349 of file config.h.

◆ LT_OBJDIR

#define LT_OBJDIR   ".libs/"

Definition at line 358 of file config.h.

◆ PACKAGE_BUGREPORT

#define PACKAGE_BUGREPORT   "libdns@nlnetlabs.nl"

Definition at line 361 of file config.h.

◆ PACKAGE_NAME

#define PACKAGE_NAME   "ldns"

Definition at line 364 of file config.h.

◆ PACKAGE_STRING

#define PACKAGE_STRING   "ldns 1.8.3"

Definition at line 367 of file config.h.

◆ PACKAGE_TARNAME

#define PACKAGE_TARNAME   "libdns"

Definition at line 370 of file config.h.

◆ PACKAGE_URL

#define PACKAGE_URL   ""

Definition at line 373 of file config.h.

◆ PACKAGE_VERSION

#define PACKAGE_VERSION   "1.8.3"

Definition at line 376 of file config.h.

◆ RRTYPE_OPENPGPKEY

#define RRTYPE_OPENPGPKEY

Definition at line 391 of file config.h.

◆ RRTYPE_SVCB_HTTPS

#define RRTYPE_SVCB_HTTPS

Definition at line 397 of file config.h.

◆ SIZEOF_TIME_T

#define SIZEOF_TIME_T   8

Definition at line 403 of file config.h.

◆ STDC_HEADERS

#define STDC_HEADERS   1

Definition at line 408 of file config.h.

◆ SYSCONFDIR

#define SYSCONFDIR   sysconfdir

Definition at line 414 of file config.h.

◆ USE_DANE

#define USE_DANE   1

Definition at line 417 of file config.h.

◆ USE_DSA

#define USE_DSA   1

Definition at line 426 of file config.h.

◆ USE_ECDSA

#define USE_ECDSA   1

Definition at line 429 of file config.h.

◆ USE_ED25519

#define USE_ED25519   1

Definition at line 432 of file config.h.

◆ USE_ED448

#define USE_ED448   1

Definition at line 435 of file config.h.

◆ USE_SHA2

#define USE_SHA2   1

Definition at line 441 of file config.h.

◆ _ALL_SOURCE

#define _ALL_SOURCE   1

Definition at line 445 of file config.h.

◆ _DARWIN_C_SOURCE

#define _DARWIN_C_SOURCE   1

Definition at line 449 of file config.h.

◆ __EXTENSIONS__

#define __EXTENSIONS__   1

Definition at line 453 of file config.h.

◆ _GNU_SOURCE

#define _GNU_SOURCE   1

Definition at line 457 of file config.h.

◆ _HPUX_ALT_XOPEN_SOCKET_API

#define _HPUX_ALT_XOPEN_SOCKET_API   1

Definition at line 462 of file config.h.

◆ _NETBSD_SOURCE [1/2]

#define _NETBSD_SOURCE   1

Definition at line 550 of file config.h.

◆ _OPENBSD_SOURCE

#define _OPENBSD_SOURCE   1

Definition at line 478 of file config.h.

◆ _POSIX_PTHREAD_SEMANTICS

#define _POSIX_PTHREAD_SEMANTICS   1

Definition at line 490 of file config.h.

◆ __STDC_WANT_IEC_60559_ATTRIBS_EXT__

#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__   1

Definition at line 494 of file config.h.

◆ __STDC_WANT_IEC_60559_BFP_EXT__

#define __STDC_WANT_IEC_60559_BFP_EXT__   1

Definition at line 498 of file config.h.

◆ __STDC_WANT_IEC_60559_DFP_EXT__

#define __STDC_WANT_IEC_60559_DFP_EXT__   1

Definition at line 502 of file config.h.

◆ __STDC_WANT_IEC_60559_FUNCS_EXT__

#define __STDC_WANT_IEC_60559_FUNCS_EXT__   1

Definition at line 506 of file config.h.

◆ __STDC_WANT_IEC_60559_TYPES_EXT__

#define __STDC_WANT_IEC_60559_TYPES_EXT__   1

Definition at line 510 of file config.h.

◆ __STDC_WANT_LIB_EXT2__

#define __STDC_WANT_LIB_EXT2__   1

Definition at line 514 of file config.h.

◆ __STDC_WANT_MATH_SPEC_FUNCS__

#define __STDC_WANT_MATH_SPEC_FUNCS__   1

Definition at line 518 of file config.h.

◆ _TANDEM_SOURCE

#define _TANDEM_SOURCE   1

Definition at line 522 of file config.h.

◆ WINVER

#define WINVER   0x0502

Definition at line 535 of file config.h.

◆ _NETBSD_SOURCE [2/2]

#define _NETBSD_SOURCE   1

Definition at line 550 of file config.h.

◆ LITTLE_ENDIAN

#define LITTLE_ENDIAN   1234

Definition at line 619 of file config.h.

◆ BIG_ENDIAN

#define BIG_ENDIAN   4321

Definition at line 623 of file config.h.

◆ BYTE_ORDER

#define BYTE_ORDER   LITTLE_ENDIAN

Definition at line 630 of file config.h.

◆ FD_SET_T

#define FD_SET_T

Definition at line 668 of file config.h.

◆ SOCK_INVALID

#define SOCK_INVALID   -1

Definition at line 755 of file config.h.

◆ close_socket

#define close_socket (   _s)    do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0)

Definition at line 756 of file config.h.

Function Documentation

◆ ldns_b64_ntop()

int ldns_b64_ntop ( uint8_t const *  src,
size_t  srclength,
char *  target,
size_t  targsize 
)

◆ ldns_b64_pton()

int ldns_b64_pton ( char const *  src,
uint8_t *  target,
size_t  targsize 
)

◆ ldns_dname_compare_v()

int ldns_dname_compare_v ( const void *  a,
const void *  b 
)

Given in dnssec_zone.c, also used in dnssec_sign.c:w.

Definition at line 910 of file dnssec_zone.c.

◆ strlcpy()

size_t strlcpy ( char *  dst,
const char *  src,
size_t  siz 
)