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

NAME

6       ldns_rr_compare, ldns_rr_compare_ds - compare a ldns_rr
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       int ldns_rr_compare(const ldns_rr *rr1, const ldns_rr *rr2);
16
17       bool ldns_rr_compare_ds(const ldns_rr *rr1, const ldns_rr *rr2);
18

DESCRIPTION

20       ldns_rr_compare() compares two rrs. The TTL is not looked at.
21              rr1: the first one
22              rr2: the second one
23              Returns 0 if equal -1 if rr1 comes before rr2 +1 if rr2 comes
24              before rr1
25
26       ldns_rr_compare_ds() returns true of the given rr's are equal.  Also
27              returns true if one record is a DS that represents the same
28              DNSKEY record as the other record
29              rr1: the first rr
30              rr2: the second rr
31              Returns true if equal otherwise false
32

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

51       ldns_rr, ldns_rr_list.  And perldoc Net::DNS, RFC1034, RFC1035,
52       RFC4033, RFC4034  and RFC4035.
53

REMARKS

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