ldns_rr_get_class(3)

ldns_rr_get_class3

Access rdata fields on ldns_rr

Usage

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

Overview

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

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

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

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

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

Remarks

This manpage was automatically generated from the ldns source code.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0–8
  3. 9–10
  4. 11–12
  5. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.