ldns_rr_compare3
Compare a ldns_rr
Usage
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
int ldns_rr_compare(const ldns_rr *rr1, const ldns_rr *rr2);
bool ldns_rr_compare_ds(const ldns_rr *rr1, const ldns_rr *rr2);
Overview
ldns_rr_compare() compares two rrs. The TTL is not looked at. .br rr1: the first one .br rr2: the second one .br Returns 0 if equal -1 if rr1 comes before rr2 +1 if rr2 comes before rr1
ldns_rr_compare_ds() returns true of the given rr's are equal. Also returns true if one record is a DS that represents the same DNSKEY record as the other record .br rr1: the first rr .br rr2: the second rr .br Returns true if equal otherwise false
Remarks
This manpage was automatically generated from the ldns source code.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 5 times.