ldns_rr_rdf man page

ldns_rr_rdf, ldns_rr_owner, ldns_rr_rd_count, ldns_rr_ttl, ldns_rr_get_class — access rdata fields on ldns_rr


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

#include <ldns/ldns.h>

ldns_rdf* ldns_rr_rdf(const ldns_rr *rr, size_t nr);

ldns_rdf* ldns_rr_owner(const ldns_rr *rr);

size_t ldns_rr_rd_count(const ldns_rr *rr);

uint32_t ldns_rr_ttl(const ldns_rr *rr);

ldns_rr_class ldns_rr_get_class(const ldns_rr *rr);


ldns_rr_rdf() returns the rdata field member counter.
*rr: rr to operate on
nr: the number of the rdf to return
Returns ldns_rdf *

ldns_rr_owner() returns the owner name of an rr structure.
*rr: rr to operate on
Returns ldns_rdf *

ldns_rr_rd_count() returns the rd_count of an rr structure.
*rr: the rr to read from
Returns the rd count of the rr

ldns_rr_ttl() returns the ttl of an rr structure.
*rr: the rr to read from
Returns the ttl of the rr

ldns_rr_get_class() returns the class of the rr.
*rr: the rr to read from
Returns the class of the rr


The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.

Reporting Bugs

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

See Also

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


This manpage was automatically generated from the ldns source code by use of Doxygen and some perl.

Referenced By

ldns_rr_get_class(3), ldns_rr_owner(3), ldns_rr_rd_count(3) and ldns_rr_ttl(3) are aliases of ldns_rr_rdf(3).

30 May 2006