1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_dname_left_chop, ldns_dname_label_count - dname label functions
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ldns_rdf* ldns_dname_left_chop(const ldns_rdf *d);
16
17       uint8_t ldns_dname_label_count(const ldns_rdf *r);
18

DESCRIPTION

20       ldns_dname_left_chop() chop one label off the left side of a dname. so
21              wwww.nlnetlabs.nl, becomes nlnetlabs.nl This new name is a clone
22              and must be freed with ldns_deep_free()
23              d: the dname to chop
24              Returns the remaining dname
25
26       ldns_dname_label_count() count the number of labels inside a
27              LDNS_RDF_DNAME type rdf.
28              *r: the rdf
29              Returns the number of labels
30

AUTHOR

32       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
33       Miek Gieben.
34
35

REPORTING BUGS

37       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
38       http://www.nlnetlabs.nl/bugs/index.html
39
40
42       Copyright (c) 2004 - 2006 NLnet Labs.
43
44       Licensed under the BSD License. There is NO warranty; not even for MER‐
45       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46

SEE ALSO

48       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
49

REMARKS

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)
Impressum