ldns_rr_rdf - Man Page

access rdata fields on ldns_rr

Synopsis

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

Description

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

Author

The ldns team at NLnet Labs.

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.

Remarks

This manpage was automatically generated from the ldns source code.

Referenced By

The man pages 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