2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 16:45:24 +00:00

261 [func] Add dns_zone_markdirty().

This commit is contained in:
Mark Andrews
2000-06-19 23:05:32 +00:00
parent f5aa0fb80d
commit 242dfd9cc6
3 changed files with 21 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: zone.c,v 1.148 2000/06/15 17:40:18 gson Exp $ */
/* $Id: zone.c,v 1.149 2000/06/19 23:05:30 marka Exp $ */
#include <config.h>
@@ -1381,6 +1381,15 @@ dns_zone_maintenance(dns_zone_t *zone) {
(void) zone_settimer(zone, now);
}
void
dns_zone_markdirty(dns_zone_t *zone) {
REQUIRE(DNS_ZONE_VALID(zone));
LOCK(&zone->lock);
zone->flags |= DNS_ZONEFLG_NEEDDUMP;
UNLOCK(&zone->lock);
}
void
dns_zone_expire(dns_zone_t *zone) {
REQUIRE(DNS_ZONE_VALID(zone));