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

NAME

6       ldns_rr_compare, ldns_rr_compare_ds
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
24                      -1 if rr1 comes before rr2
25                      +1 if rr2 comes before rr1
26
27       ldns_rr_compare_ds()  returns  true  of the given rr's are equal.  Also
28              returns true if one record is a  DS  that  represents  the  same
29              DNSKEY record as the other record
30              rr1: the first rr
31              rr2: the second rr
32              Returns true if equal otherwise false
33

AUTHOR

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

REPORTING BUGS

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

SEE ALSO

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

REMARKS

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