ldns_update_pkt_new - Man Page

create an update packet

Synopsis

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

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);

Description

ldns_update_pkt_new() create an update packet from zone name, class and the rr lists
zone_rdf: name of the zone The returned packet will take ownership of zone_rdf, so the caller should not free it
clas: zone class
pr_rrlist: list of Prerequisite Section RRs
up_rrlist: list of Updates Section RRs
ad_rrlist: list of Additional Data Section RRs (currently unused)
Returns the new packet

Author

The ldns team at NLnet Labs.

Reporting Bugs

Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

See Also

ldns_update_pkt_tsig_add, ldns_update_pkt_tsig_add, ldns_update_zocount, ldns_update_prcount, ldns_update_upcount, ldns_update_adcount, ldns_update_set_zocount, ldns_update_set_prcount, ldns_update_set_upcount, ldns_update_set_adcount. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034  and RFC4035.

Remarks

This manpage was automatically generated from the ldns source code.

Info

30 May 2006