1ldns(3) Library Functions Manual ldns(3)
2
3
4
6 ldns_get_rr_class_by_name, ldns_get_rr_type_by_name - lookup class or
7 type by name
8
9
11 #include <stdint.h>
12 #include <stdbool.h>
13
14 #include <ldns/ldns.h>
15
16 ldns_rr_class ldns_get_rr_class_by_name(const char *name);
17
18 ldns_rr_type ldns_get_rr_type_by_name(const char *name);
19
21 ldns_get_rr_class_by_name() retrieves a class by looking up its name.
22 name: string with the name
23 Returns the cass which corresponds with the name
24
25 ldns_get_rr_type_by_name() retrieves a rrtype by looking up its name.
26 name: a string with the name
27 Returns the type which corresponds with the name
28
30 The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
31 Miek Gieben.
32
33
35 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
36 http://www.nlnetlabs.nl/bugs/index.html
37
38
40 Copyright (c) 2004 - 2006 NLnet Labs.
41
42 Licensed under the BSD License. There is NO warranty; not even for MER‐
43 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
44
45
47 ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035,
48 RFC4033, RFC4034 and RFC4035.
49
51 This manpage was automatically generated from the ldns source code by
52 use of Doxygen and some perl.
53
54
55
56 30 May 2006 ldns(3)