mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-16 21:38:52 -04:00
remove methods not used in 9.6.x
This commit is contained in:
parent
04902c6369
commit
4e290bf392
4 changed files with 0 additions and 52 deletions
|
|
@ -224,10 +224,4 @@ checknames_l32(ARGS_CHECKNAMES) {
|
|||
|
||||
return (ISC_TRUE);
|
||||
}
|
||||
|
||||
static inline int
|
||||
casecompare_l32(ARGS_COMPARE) {
|
||||
return (compare_l32(rdata1, rdata2));
|
||||
}
|
||||
|
||||
#endif /* RDATA_GENERIC_L32_105_C */
|
||||
|
|
|
|||
|
|
@ -219,10 +219,4 @@ checknames_l64(ARGS_CHECKNAMES) {
|
|||
|
||||
return (ISC_TRUE);
|
||||
}
|
||||
|
||||
static inline int
|
||||
casecompare_l64(ARGS_COMPARE) {
|
||||
return (compare_l64(rdata1, rdata2));
|
||||
}
|
||||
|
||||
#endif /* RDATA_GENERIC_L64_106_C */
|
||||
|
|
|
|||
|
|
@ -238,38 +238,4 @@ checknames_lp(ARGS_CHECKNAMES) {
|
|||
|
||||
return (ISC_TRUE);
|
||||
}
|
||||
|
||||
static inline int
|
||||
casecompare_lp(ARGS_COMPARE) {
|
||||
dns_name_t name1;
|
||||
dns_name_t name2;
|
||||
isc_region_t region1;
|
||||
isc_region_t region2;
|
||||
int order;
|
||||
|
||||
REQUIRE(rdata1->type == rdata2->type);
|
||||
REQUIRE(rdata1->rdclass == rdata2->rdclass);
|
||||
REQUIRE(rdata1->type == 107);
|
||||
REQUIRE(rdata1->length != 0);
|
||||
REQUIRE(rdata2->length != 0);
|
||||
|
||||
order = memcmp(rdata1->data, rdata2->data, 2);
|
||||
if (order != 0)
|
||||
return (order < 0 ? -1 : 1);
|
||||
|
||||
dns_name_init(&name1, NULL);
|
||||
dns_name_init(&name2, NULL);
|
||||
|
||||
dns_rdata_toregion(rdata1, ®ion1);
|
||||
dns_rdata_toregion(rdata2, ®ion2);
|
||||
|
||||
isc_region_consume(®ion1, 2);
|
||||
isc_region_consume(®ion2, 2);
|
||||
|
||||
dns_name_fromregion(&name1, ®ion1);
|
||||
dns_name_fromregion(&name2, ®ion2);
|
||||
|
||||
return (dns_name_rdatacompare(&name1, &name2));
|
||||
}
|
||||
|
||||
#endif /* RDATA_GENERIC_LP_107_C */
|
||||
|
|
|
|||
|
|
@ -219,10 +219,4 @@ checknames_nid(ARGS_CHECKNAMES) {
|
|||
|
||||
return (ISC_TRUE);
|
||||
}
|
||||
|
||||
static inline int
|
||||
casecompare_nid(ARGS_COMPARE) {
|
||||
return (compare_nid(rdata1, rdata2));
|
||||
}
|
||||
|
||||
#endif /* RDATA_GENERIC_NID_104_C */
|
||||
|
|
|
|||
Loading…
Reference in a new issue