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

NAME

6       ldns_rdf_size, ldns_rdf_get_type, ldns_rdf_data, ldns_rdf_compare - get
7       rdf attributes
8
9

SYNOPSIS

11       #include <stdint.h>
12       #include <stdbool.h>
13
14       #include <ldns/ldns.h>
15
16       size_t ldns_rdf_size(const ldns_rdf *rd);
17
18       ldns_rdf_type ldns_rdf_get_type(const ldns_rdf *rd);
19
20       uint8_t* ldns_rdf_data(const ldns_rdf *rd);
21
22       int ldns_rdf_compare(const ldns_rdf *rd1, const ldns_rdf *rd2);
23

DESCRIPTION

25       ldns_rdf_size() returns the size of the rdf.
26              *rd: the rdf to read from
27              Returns uint16_t with the size
28
29       ldns_rdf_get_type() returns the type of the rdf. We need to insert
30              _get_ here to prevent conflict the the rdf_type TYPE.
31              *rd: the rdf to read from
32              Returns ldns_rdf_type with the type
33
34       ldns_rdf_data() returns the data of the rdf.
35              *rd: the rdf to read from
36
37              Returns uint8_t* pointer to the rdf's data
38
39       ldns_rdf_compare() compares two rdf's on their wire formats.  (To order
40              dnames according to rfc4034, use ldns_dname_compare)
41              rd1: the first one
42              rd2: the second one
43              Returns 0 if equal
44              Returns -1 if rd1 comes before rd2
45              Returns +1 if rd2 comes before rd1
46

AUTHOR

48       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
49       Miek Gieben.
50
51

REPORTING BUGS

53       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
54       http://www.nlnetlabs.nl/bugs/index.html
55
56
58       Copyright (c) 2004 - 2006 NLnet Labs.
59
60       Licensed under the BSD License. There is NO warranty; not even for MER‐
61       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
62
63

SEE ALSO

65       ldns_rdf.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034
66       and RFC4035.
67

REMARKS

69       This manpage was automatically generated from the ldns source code by
70       use of Doxygen and some perl.
71
72
73
74                                  30 May 2006                          ldns(3)
Impressum