enum ldns_enum_status ldns_status
Defines the ldns_resolver structure, a stub resolver that can send queries and parse answers.
enum ldns_enum_rr_class ldns_rr_class
Resource record data field.
DNS stub resolver structure.
List or Set of Resource Records.
uint16_t ldns_update_ad(const ldns_pkt *p)
Get the zo count.
void ldns_update_set_zo(ldns_pkt *p, uint16_t c)
Set the zo count.
uint16_t ldns_update_upcount(const ldns_pkt *p)
Get the zo count.
uint16_t ldns_update_zocount(const ldns_pkt *p)
Get the zo count.
void ldns_update_set_prcount(ldns_pkt *p, uint16_t c)
Set the pr count.
ldns_status ldns_update_soa_zone_mname(const char *fqdn, ldns_resolver *r, ldns_rr_class c, ldns_rdf **zone_rdf, ldns_rdf **mname_rdf)
void ldns_update_set_upcount(ldns_pkt *p, uint16_t c)
Set the up count.
uint16_t ldns_update_prcount(const ldns_pkt *p)
Get the zo count.
ldns_pkt * ldns_update_pkt_new(ldns_rdf *zone_rdf, ldns_rr_class clas, const ldns_rr_list *pr_rrlist, const ldns_rr_list *up_rrlist, const ldns_rr_list *ad_rrlist)
create an update packet from zone name, class and the rr lists
void ldns_update_set_adcount(ldns_pkt *p, uint16_t c)
Set the ad count.
ldns_status ldns_update_pkt_tsig_add(ldns_pkt *p, const ldns_resolver *r)
add tsig credentials to a packet from a resolver
ldns_status ldns_update_soa_mname(ldns_rdf *zone, ldns_resolver *r, ldns_rr_class c, ldns_rdf **mname)