Scroll to navigation

ldns(3) Library Functions Manual ldns(3)

NAME

ldns_get_rr_class_by_name, ldns_get_rr_type_by_name - 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

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_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.

30 May 2006