Commit 39e988e8 authored by Mark Andrews's avatar Mark Andrews
Browse files

remove dns_zone_setflag as it is unneeded

parent 77ac8db0
Pipeline #65989 failed with stages
in 18 minutes and 11 seconds
......@@ -468,16 +468,6 @@ dns_zone_idetach(dns_zone_t **zonep);
*\li 'zonep' to point to a valid zone.
*/
void
dns_zone_setflag(dns_zone_t *zone, unsigned int flags, bool value);
/*%<
* Sets ('value' == 'true') / clears ('value' == 'IS_FALSE')
* zone flags. Valid flag bits are DNS_ZONE_F_*.
*
* Requires
*\li 'zone' to be a valid zone.
*/
isc_result_t
dns_zone_getdb(dns_zone_t *zone, dns_db_t **dbp);
/*%<
......
......@@ -1322,7 +1322,6 @@ dns_zone_setdbtype
dns_zone_setdialup
dns_zone_setdnssecsignstats
dns_zone_setfile
dns_zone_setflag
dns_zone_setforwardacl
dns_zone_setidlein
dns_zone_setidleout
......
......@@ -5846,17 +5846,6 @@ dns_zone_getmgr(dns_zone_t *zone) {
return (zone->zmgr);
}
 
void
dns_zone_setflag(dns_zone_t *zone, unsigned int flags, bool value) {
REQUIRE(DNS_ZONE_VALID(zone));
if (value) {
DNS_ZONE_SETFLAG(zone, flags);
} else {
DNS_ZONE_CLRFLAG(zone, flags);
}
}
void
dns_zone_setkasp(dns_zone_t *zone, dns_kasp_t *kasp) {
REQUIRE(DNS_ZONE_VALID(zone));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment