ldns  1.7.0
Macros | Functions
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_CTIME_R   1
 
#define HAVE_DANE_CA_FILE   0
 
#define HAVE_DANE_CA_PATH   0
 
#define HAVE_DECL_NID_SECP384R1   1
 
#define HAVE_DECL_NID_X25519   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_EVP_MD_CTX_NEW   1
 
#define HAVE_EVP_PKEY_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_GETADDRINFO   1
 
#define HAVE_GETOPT_H   1
 
#define HAVE_GMTIME_R   1
 
#define HAVE_HMAC_UPDATE   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_LIBPCAP   1
 
#define HAVE_LOCALTIME_R   1
 
#define HAVE_MALLOC   1
 
#define HAVE_MEMMOVE   1
 
#define HAVE_MEMORY_H   1
 
#define HAVE_MEMSET   1
 
#define HAVE_NETDB_H   1
 
#define HAVE_NETINET_IF_ETHER_H   1
 
#define HAVE_NETINET_IGMP_H   1
 
#define HAVE_NETINET_IN_H   1
 
#define HAVE_NETINET_IN_SYSTM_H   1
 
#define HAVE_NETINET_IP6_H   1
 
#define HAVE_NETINET_IP_H   1
 
#define HAVE_NETINET_UDP_H   1
 
#define HAVE_NET_ETHERNET_H   1
 
#define HAVE_NET_IF_H   1
 
#define HAVE_OPENSSL_ERR_H   1
 
#define HAVE_OPENSSL_RAND_H   1
 
#define HAVE_OPENSSL_SSL_H   1
 
#define HAVE_PCAP_H   1
 
#define HAVE_POLL   1
 
#define HAVE_RANDOM   1
 
#define HAVE_REALLOC   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_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_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.7.0"
 
#define PACKAGE_TARNAME   "libdns"
 
#define PACKAGE_URL   ""
 
#define PACKAGE_VERSION   "1.7.0"
 
#define RRTYPE_OPENPGPKEY
 
#define SIZEOF_TIME_T   8
 
#define STDC_HEADERS   1
 
#define SYSCONFDIR   sysconfdir
 
#define USE_DANE   1
 
#define USE_DANE_TA_USAGE   1
 
#define USE_DANE_VERIFY   1
 
#define USE_DSA   1
 
#define USE_ECDSA   1
 
#define USE_ED25519   1
 
#define USE_GOST   1
 
#define USE_SHA2   1
 
#define _ALL_SOURCE   1
 
#define _GNU_SOURCE   1
 
#define _POSIX_PTHREAD_SEMANTICS   1
 
#define _TANDEM_SOURCE   1
 
#define __EXTENSIONS__   1
 
#define WINVER   0x0502
 
#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 = SOCK_INVALID;} } 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_CTIME_R

#define HAVE_CTIME_R   1

Definition at line 35 of file config.h.

◆ HAVE_DANE_CA_FILE

#define HAVE_DANE_CA_FILE   0

Definition at line 38 of file config.h.

◆ HAVE_DANE_CA_PATH

#define HAVE_DANE_CA_PATH   0

Definition at line 41 of file config.h.

◆ HAVE_DECL_NID_SECP384R1

#define HAVE_DECL_NID_SECP384R1   1

Definition at line 45 of file config.h.

◆ HAVE_DECL_NID_X25519

#define HAVE_DECL_NID_X25519   1

Definition at line 49 of file config.h.

◆ HAVE_DECL_NID_X9_62_PRIME256V1

#define HAVE_DECL_NID_X9_62_PRIME256V1   1

Definition at line 57 of file config.h.

◆ HAVE_DLFCN_H

#define HAVE_DLFCN_H   1

Definition at line 60 of file config.h.

◆ HAVE_DSA_GET0_KEY

#define HAVE_DSA_GET0_KEY   1

Definition at line 63 of file config.h.

◆ HAVE_DSA_GET0_PQG

#define HAVE_DSA_GET0_PQG   1

Definition at line 66 of file config.h.

◆ HAVE_DSA_SIG_GET0

#define HAVE_DSA_SIG_GET0   1

Definition at line 69 of file config.h.

◆ HAVE_DSA_SIG_SET0

#define HAVE_DSA_SIG_SET0   1

Definition at line 72 of file config.h.

◆ HAVE_ECDSA_SIG_GET0

#define HAVE_ECDSA_SIG_GET0   1

Definition at line 75 of file config.h.

◆ HAVE_ENDPROTOENT

#define HAVE_ENDPROTOENT   1

Definition at line 78 of file config.h.

◆ HAVE_ENDSERVENT

#define HAVE_ENDSERVENT   1

Definition at line 81 of file config.h.

◆ HAVE_EVP_MD_CTX_NEW

#define HAVE_EVP_MD_CTX_NEW   1

Definition at line 90 of file config.h.

◆ HAVE_EVP_PKEY_BASE_ID

#define HAVE_EVP_PKEY_BASE_ID   1

Definition at line 93 of file config.h.

◆ HAVE_EVP_PKEY_KEYGEN

#define HAVE_EVP_PKEY_KEYGEN   1

Definition at line 96 of file config.h.

◆ HAVE_EVP_SHA256

#define HAVE_EVP_SHA256   1

Definition at line 99 of file config.h.

◆ HAVE_EVP_SHA384

#define HAVE_EVP_SHA384   1

Definition at line 102 of file config.h.

◆ HAVE_EVP_SHA512

#define HAVE_EVP_SHA512   1

Definition at line 105 of file config.h.

◆ HAVE_FCNTL

#define HAVE_FCNTL   1

Definition at line 108 of file config.h.

◆ HAVE_FORK

#define HAVE_FORK   1

Definition at line 111 of file config.h.

◆ HAVE_GETADDRINFO

#define HAVE_GETADDRINFO   1

Definition at line 114 of file config.h.

◆ HAVE_GETOPT_H

#define HAVE_GETOPT_H   1

Definition at line 117 of file config.h.

◆ HAVE_GMTIME_R

#define HAVE_GMTIME_R   1

Definition at line 120 of file config.h.

◆ HAVE_HMAC_UPDATE

#define HAVE_HMAC_UPDATE   1

Definition at line 123 of file config.h.

◆ HAVE_INET_ATON

#define HAVE_INET_ATON   1

Definition at line 126 of file config.h.

◆ HAVE_INET_NTOP

#define HAVE_INET_NTOP   1

Definition at line 129 of file config.h.

◆ HAVE_INET_PTON

#define HAVE_INET_PTON   1

Definition at line 132 of file config.h.

◆ HAVE_INTTYPES_H

#define HAVE_INTTYPES_H   1

Definition at line 135 of file config.h.

◆ HAVE_ISASCII

#define HAVE_ISASCII   1

Definition at line 141 of file config.h.

◆ HAVE_ISBLANK

#define HAVE_ISBLANK   1

Definition at line 144 of file config.h.

◆ HAVE_LIBPCAP

#define HAVE_LIBPCAP   1

Definition at line 147 of file config.h.

◆ HAVE_LOCALTIME_R

#define HAVE_LOCALTIME_R   1

Definition at line 153 of file config.h.

◆ HAVE_MALLOC

#define HAVE_MALLOC   1

Definition at line 157 of file config.h.

◆ HAVE_MEMMOVE

#define HAVE_MEMMOVE   1

Definition at line 160 of file config.h.

◆ HAVE_MEMORY_H

#define HAVE_MEMORY_H   1

Definition at line 163 of file config.h.

◆ HAVE_MEMSET

#define HAVE_MEMSET   1

Definition at line 166 of file config.h.

◆ HAVE_NETDB_H

#define HAVE_NETDB_H   1

Definition at line 169 of file config.h.

◆ HAVE_NETINET_IF_ETHER_H

#define HAVE_NETINET_IF_ETHER_H   1

Definition at line 172 of file config.h.

◆ HAVE_NETINET_IGMP_H

#define HAVE_NETINET_IGMP_H   1

Definition at line 175 of file config.h.

◆ HAVE_NETINET_IN_H

#define HAVE_NETINET_IN_H   1

Definition at line 178 of file config.h.

◆ HAVE_NETINET_IN_SYSTM_H

#define HAVE_NETINET_IN_SYSTM_H   1

Definition at line 181 of file config.h.

◆ HAVE_NETINET_IP6_H

#define HAVE_NETINET_IP6_H   1

Definition at line 184 of file config.h.

◆ HAVE_NETINET_IP_H

#define HAVE_NETINET_IP_H   1

Definition at line 190 of file config.h.

◆ HAVE_NETINET_UDP_H

#define HAVE_NETINET_UDP_H   1

Definition at line 193 of file config.h.

◆ HAVE_NET_ETHERNET_H

#define HAVE_NET_ETHERNET_H   1

Definition at line 196 of file config.h.

◆ HAVE_NET_IF_H

#define HAVE_NET_IF_H   1

Definition at line 199 of file config.h.

◆ HAVE_OPENSSL_ERR_H

#define HAVE_OPENSSL_ERR_H   1

Definition at line 202 of file config.h.

◆ HAVE_OPENSSL_RAND_H

#define HAVE_OPENSSL_RAND_H   1

Definition at line 205 of file config.h.

◆ HAVE_OPENSSL_SSL_H

#define HAVE_OPENSSL_SSL_H   1

Definition at line 208 of file config.h.

◆ HAVE_PCAP_H

#define HAVE_PCAP_H   1

Definition at line 211 of file config.h.

◆ HAVE_POLL

#define HAVE_POLL   1

Definition at line 214 of file config.h.

◆ HAVE_RANDOM

#define HAVE_RANDOM   1

Definition at line 220 of file config.h.

◆ HAVE_REALLOC

#define HAVE_REALLOC   1

Definition at line 224 of file config.h.

◆ HAVE_SLEEP

#define HAVE_SLEEP   1

Definition at line 227 of file config.h.

◆ HAVE_SNPRINTF

#define HAVE_SNPRINTF   1

Definition at line 230 of file config.h.

◆ HAVE_SSL

#define HAVE_SSL

Definition at line 233 of file config.h.

◆ HAVE_STDARG_H

#define HAVE_STDARG_H   1

Definition at line 236 of file config.h.

◆ HAVE_STDBOOL_H

#define HAVE_STDBOOL_H   1

Definition at line 239 of file config.h.

◆ HAVE_STDINT_H

#define HAVE_STDINT_H   1

Definition at line 242 of file config.h.

◆ HAVE_STDLIB_H

#define HAVE_STDLIB_H   1

Definition at line 245 of file config.h.

◆ HAVE_STRINGS_H

#define HAVE_STRINGS_H   1

Definition at line 248 of file config.h.

◆ HAVE_STRING_H

#define HAVE_STRING_H   1

Definition at line 251 of file config.h.

◆ HAVE_STRTOUL

#define HAVE_STRTOUL   1

Definition at line 257 of file config.h.

◆ HAVE_SYS_MOUNT_H

#define HAVE_SYS_MOUNT_H   1

Definition at line 263 of file config.h.

◆ HAVE_SYS_PARAM_H

#define HAVE_SYS_PARAM_H   1

Definition at line 266 of file config.h.

◆ HAVE_SYS_SOCKET_H

#define HAVE_SYS_SOCKET_H   1

Definition at line 269 of file config.h.

◆ HAVE_SYS_STAT_H

#define HAVE_SYS_STAT_H   1

Definition at line 272 of file config.h.

◆ HAVE_SYS_TYPES_H

#define HAVE_SYS_TYPES_H   1

Definition at line 275 of file config.h.

◆ HAVE_TIMEGM

#define HAVE_TIMEGM   1

Definition at line 278 of file config.h.

◆ HAVE_TIME_H

#define HAVE_TIME_H   1

Definition at line 281 of file config.h.

◆ HAVE_UNISTD_H

#define HAVE_UNISTD_H   1

Definition at line 284 of file config.h.

◆ HAVE_VFORK

#define HAVE_VFORK   1

Definition at line 287 of file config.h.

◆ HAVE_WORKING_FORK

#define HAVE_WORKING_FORK   1

Definition at line 296 of file config.h.

◆ HAVE_WORKING_VFORK

#define HAVE_WORKING_VFORK   1

Definition at line 299 of file config.h.

◆ HAVE__BOOL

#define HAVE__BOOL   1

Definition at line 305 of file config.h.

◆ LT_OBJDIR

#define LT_OBJDIR   ".libs/"

Definition at line 314 of file config.h.

◆ PACKAGE_BUGREPORT

#define PACKAGE_BUGREPORT   "libdns@nlnetlabs.nl"

Definition at line 317 of file config.h.

◆ PACKAGE_NAME

#define PACKAGE_NAME   "ldns"

Definition at line 320 of file config.h.

◆ PACKAGE_STRING

#define PACKAGE_STRING   "ldns 1.7.0"

Definition at line 323 of file config.h.

◆ PACKAGE_TARNAME

#define PACKAGE_TARNAME   "libdns"

Definition at line 326 of file config.h.

◆ PACKAGE_URL

#define PACKAGE_URL   ""

Definition at line 329 of file config.h.

◆ PACKAGE_VERSION

#define PACKAGE_VERSION   "1.7.0"

Definition at line 332 of file config.h.

◆ RRTYPE_OPENPGPKEY

#define RRTYPE_OPENPGPKEY

Definition at line 341 of file config.h.

◆ SIZEOF_TIME_T

#define SIZEOF_TIME_T   8

Definition at line 350 of file config.h.

◆ STDC_HEADERS

#define STDC_HEADERS   1

Definition at line 353 of file config.h.

◆ SYSCONFDIR

#define SYSCONFDIR   sysconfdir

Definition at line 359 of file config.h.

◆ USE_DANE

#define USE_DANE   1

Definition at line 362 of file config.h.

◆ USE_DANE_TA_USAGE

#define USE_DANE_TA_USAGE   1

Definition at line 365 of file config.h.

◆ USE_DANE_VERIFY

#define USE_DANE_VERIFY   1

Definition at line 368 of file config.h.

◆ USE_DSA

#define USE_DSA   1

Definition at line 371 of file config.h.

◆ USE_ECDSA

#define USE_ECDSA   1

Definition at line 374 of file config.h.

◆ USE_ED25519

#define USE_ED25519   1

Definition at line 377 of file config.h.

◆ USE_GOST

#define USE_GOST   1

Definition at line 383 of file config.h.

◆ USE_SHA2

#define USE_SHA2   1

Definition at line 386 of file config.h.

◆ _ALL_SOURCE

#define _ALL_SOURCE   1

Definition at line 390 of file config.h.

◆ _GNU_SOURCE

#define _GNU_SOURCE   1

Definition at line 394 of file config.h.

◆ _POSIX_PTHREAD_SEMANTICS

#define _POSIX_PTHREAD_SEMANTICS   1

Definition at line 398 of file config.h.

◆ _TANDEM_SOURCE

#define _TANDEM_SOURCE   1

Definition at line 402 of file config.h.

◆ __EXTENSIONS__

#define __EXTENSIONS__   1

Definition at line 406 of file config.h.

◆ WINVER

#define WINVER   0x0502

Definition at line 414 of file config.h.

◆ LITTLE_ENDIAN

#define LITTLE_ENDIAN   1234

Definition at line 514 of file config.h.

◆ BIG_ENDIAN

#define BIG_ENDIAN   4321

Definition at line 518 of file config.h.

◆ BYTE_ORDER

#define BYTE_ORDER   LITTLE_ENDIAN

Definition at line 525 of file config.h.

◆ FD_SET_T

#define FD_SET_T

Definition at line 563 of file config.h.

◆ SOCK_INVALID

#define SOCK_INVALID   -1

Definition at line 650 of file config.h.

◆ close_socket

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

Definition at line 651 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 827 of file dnssec_zone.c.

◆ strlcpy()

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