Scroll to navigation

ldns(3) Library Functions Manual ldns(3)

NAME

ldns_zone_push_rr, ldns_zone_push_rr_list - add rr's to a ldns_zone

SYNOPSIS

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

DESCRIPTION

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

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

COPYRIGHT

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.

SEE ALSO

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

REMARKS

This manpage was automatically generated from the ldns source code.

30 May 2006