LDNS_DNSSEC_DATA_CHAIN_NEW(3) - Linux man page online | Library functions
…
Chapter
30 May 2006
ldns(3) Library Functions Manual ldns(3)
@nlnetlabs.nl or in our bugzilla at http://www.nlnet‐
labs.nl/bugs/index.html
30 May 2006 ldns(3)
NAME
ldns_dnssec_data_chain_new, ldns_dnssec_data_chain_free, ldns_dnssec_data_chain_deep_free, ldns_dnssec_build_data_chain, ldns_dnssec_data_chain_print - ldns_chain creation, destruc‐ tion and printingSYNOPSIS
#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_dnssec_data_chain* ldns_dnssec_data_chain_new(void); void ldns_dnssec_data_chain_free(ldns_dnssec_data_chain *chain); void ldns_dnssec_data_chain_deep_free(ldns_dnssec_data_chain *chain); ldns_dnssec_data_chain* ldns_dnssec_build_data_chain(ldns_resolver *res, const uint16_t qflags, const ldns_rr_list *data_set, const ldns_pkt *pkt, ldns_rr *orig_rr); void ldns_dnssec_data_chain_print(FILE *out, const ldns_dnssec_data_chain *chain);DESCRIPTION
ldns_dnssec_data_chain_new() Creates a new dnssec_chain structure Returns ldns_dnssec_data_chain * ldns_dnssec_data_chain_free() Frees a dnssec_data_chain structure *chain: The chain to free ldns_dnssec_data_chain_deep_free() Frees a dnssec_data_chain structure, and all data con‐ tained therein *chain: The dnssec_data_chain to free ldns_dnssec_build_data_chain() Build an ldns_dnssec_data_chain, which contains all DNSSEC data that is needed to derive the trust tree later The data_set will be cloned *res: resolver structure for further needed queries qflags: resolution flags *data_set: The original rrset where the chain ends *pkt: optional, can contain the original packet (and hence the sigs and maybe the key) *orig_rr: The original Resource Record Returns the DNSSEC data chain ldns_dnssec_data_chain_print() Prints the dnssec_data_chain to the given file stream *out: The file stream to print to *chain: The dnssec_data_chain to printAUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.REPORTING BUGS
Please report bugs to