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
7
8

SYNOPSIS

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

DESCRIPTION

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

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

REMARKS

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