DOKK / manpages / debian 12 / libldns-dev / ldns_zone_push_rr.3.en
ldns(3) Library Functions Manual ldns(3)

ldns_zone_push_rr, ldns_zone_push_rr_list - add rr's to a ldns_zone

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

#include <ldns/ldns.h>

bool ldns_zone_push_rr(ldns_zone *z, ldns_rr *rr);

bool ldns_zone_push_rr_list(ldns_zone *z, const ldns_rr_list *list);

ldns_zone_push_rr() push an single rr to a zone structure. This function use pointer copying, so the rr_list structure inside z is modified!
z: the zone to add to
rr: the rr to add
Returns a true on success otherwise false

ldns_zone_push_rr_list() push an rrlist to a zone structure. This function use pointer copying, so the rr_list structure inside z is modified!
z: the zone to add to
list: the list to add
Returns a true on success otherwise false

The ldns team at NLnet Labs.

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

Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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

This manpage was automatically generated from the ldns source code.

30 May 2006