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

NAME

6       ldns_dname_left_chop, ldns_dname_label_count
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
47

SEE ALSO

49       ldns_dname.   And  perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
50       and RFC4035.
51

REMARKS

53       This manpage was automaticly generated from the ldns source code by use
54       of Doxygen and some perl.
55
56
57
58                                  30 May 2006                          ldns(3)
Impressum