ldns_get_rr_class_by_name - Man Page

lookup class or type by name

Synopsis

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

#include <ldns/ldns.h>

ldns_rr_class ldns_get_rr_class_by_name(const char *name);

ldns_rr_type ldns_get_rr_type_by_name(const char *name);

Description

ldns_get_rr_class_by_name() retrieves a class by looking up its name.
name: string with the name
Returns the cass which corresponds with the name

ldns_get_rr_type_by_name() retrieves a rrtype by looking up its name.
name: a string with the name
Returns the type which corresponds with the name

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

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 page ldns_get_rr_type_by_name(3) is an alias of ldns_get_rr_class_by_name(3).

30 May 2006