1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_update_pkt_new - create an update packet
7
8
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <ldns/ldns.h>
14
15 ldns_pkt* ldns_update_pkt_new(ldns_rdf *zone_rdf, ldns_rr_class clas,
16 const ldns_rr_list *pr_rrlist, const ldns_rr_list *up_rrlist, const
17 ldns_rr_list *ad_rrlist);
18
20 ldns_update_pkt_new() create an update packet from zone name, class and
21 the rr lists
22 zone_rdf: name of the zone The returned packet will take owner‐
23 ship of zone_rdf, so the caller should not free it
24 clas: zone class
25 pr_rrlist: list of Prerequisite Section RRs
26 up_rrlist: list of Updates Section RRs
27 ad_rrlist: list of Additional Data Section RRs (currently
28 unused)
29 Returns the new packet
30
32 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
33 Miek Gieben.
34
35
37 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
38 http://www.nlnetlabs.nl/bugs/index.html
39
40
42 Copyright (c) 2004 - 2006 NLnet Labs.
43
44 Licensed under the BSD License. There is NO warranty; not even for MER‐
45 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
47
49 ldns_update_pkt_tsig_add, ldns_update_pkt_tsig_add,
50 ldns_update_zocount, ldns_update_prcount, ldns_update_upcount,
51 ldns_update_adcount, ldns_update_set_zocount, ldns_update_set_prcount,
52 ldns_update_set_upcount, ldns_update_set_adcount. And perldoc
53 Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
54
56 This manpage was automatically generated from the ldns source code by
57 use of Doxygen and some perl.
58
59
60
61 30 May 2006 ldns(3)