ldns_dnssec_data_chain_new - Man Page

ldns_chain creation, destruction and printing

Synopsis

#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 contained 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 print

Author

The ldns team at NLnet Labs.

Reporting Bugs

Please report bugs to ldns-team@nlnetlabs.nl or in  our bugzilla at http://www.nlnetlabs.nl/bugs/index.html

See Also

ldns_dnssec_data_chain. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034  and RFC4035.

Remarks

This manpage was automatically generated from the ldns source code.

Referenced By

The man pages ldns_dnssec_build_data_chain(3), ldns_dnssec_data_chain_deep_free(3), ldns_dnssec_data_chain_free(3) and ldns_dnssec_data_chain_print(3) are aliases of ldns_dnssec_data_chain_new(3).

30 May 2006