1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_dname_left_chop, ldns_dname_label_count
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_rdf* ldns_dname_left_chop(ldns_rdf *d);
21
22 uint8_t ldns_dname_label_count(const ldns_rdf *r);
23
25 ldns_dname_left_chop() chop one label off a dname. so wwww.nlnetā
26 labs.nl, becomes nlnetlabs.nl
27 d: the dname to chop
28 Returns the remaining dname
29
30 ldns_dname_label_count() count the number of labels inside a
31 LDNS_RDF_DNAME type rdf.
32 *r: the rdf
33 Returns the number of labels
34
36 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
37 Rozendaal and Miek Gieben.
38
39
41 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
42 http://www.nlnetlabs.nl/bugs/index.html
43
44 Be sure to select ldns as the product.
45
46
48 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
49 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
50 PARTICULAR PURPOSE.
51
53 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
54
56 This manpage was automaticly generated from the ldns source code by use
57 of Doxygen and some perl.
58
59
60
61 ldns(25 Apr 2005)