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.
35
36

REPORTING BUGS

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

SEE ALSO

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

REMARKS

54       This manpage was automatically generated from the ldns source code.
55
56
57
58                                  30 May 2006                          ldns(3)
Impressum