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.
31
32
34 Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
35 http://www.nlnetlabs.nl/bugs/index.html
36
37
39 Copyright (c) 2004 - 2006 NLnet Labs.
40
41 Licensed under the BSD License. There is NO warranty; not even for MER‐
42 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
43
44
46 ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035,
47 RFC4033, RFC4034 and RFC4035.
48
50 This manpage was automatically generated from the ldns source code.
51
52
53
54 30 May 2006 ldns(3)