1 /* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> 2 3 This program is free software: you can redistribute it and/or modify 4 it under the terms of the GNU General Public License as published by 5 the Free Software Foundation, either version 3 of the License, or 6 (at your option) any later version. 7 8 This program is distributed in the hope that it will be useful, 9 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License 14 along with this program. If not, see <https://www.gnu.org/licenses/>. 15 */ 16 17 #pragma once 18 19 #include "knot/conf/conf.h" 20 #include "knot/zone/zone.h" 21 22 /*! 23 * \brief Replan timer dependent refresh, expire, and flush. 24 */ 25 void replan_from_timers(conf_t *conf, zone_t *zone); 26 27 /*! 28 * \defgroup replan_load Replan timers after zone load or reload. 29 * @{ 30 */ 31 void replan_load_new(zone_t *zone); 32 void replan_load_bootstrap(conf_t *conf, zone_t *zone); 33 void replan_load_current(conf_t *conf, zone_t *zone, zone_t *old_zone); 34 void replan_load_updated(zone_t *zone, zone_t *old_zone); 35 /*! @} */ 36