ldns_dnssec_data_chain_new3
Ldns_chain creation, destruction and printing
Usage
#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);
Overview
ldns_dnssec_data_chain_new() Creates a new dnssec_chain structure .br Returns ldns_dnssec_data_chain *
ldns_dnssec_data_chain_free() Frees a dnssec_data_chain structure
.br *chain: The chain to free
ldns_dnssec_data_chain_deep_free() Frees a dnssec_data_chain structure, and all data contained therein
.br *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
.br *res: resolver structure for further needed queries .br qflags: resolution flags .br *data_set: The original rrset where the chain ends .br *pkt: optional, can contain the original packet (and hence the sigs and maybe the key) .br *orig_rr: The original Resource Record
.br Returns the DNSSEC data chain
ldns_dnssec_data_chain_print() Prints the dnssec_data_chain to the given file stream
.br *out: The file stream to print to .br *chain: The dnssec_data_chain to print
Remarks
This manpage was automatically generated from the ldns source code.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 5 times.