* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: controlconf.c,v 1.28.2.3 2001/09/21 00:28:58 marka Exp $ */
+/* $Id: controlconf.c,v 1.28.2.4 2001/09/21 03:31:17 marka Exp $ */
#include <config.h>
isc_event_free(&event);
}
-void
-ns_controls_shutdown(ns_controls_t *controls) {
+static void
+controls_shutdown(ns_controls_t *controls) {
controllistener_t *listener;
controllistener_t *next;
ISC_LIST_UNLINK(controls->listeners, listener, link);
shutdown_listener(listener);
}
+}
+
+void
+ns_controls_shutdown(ns_controls_t *controls) {
+ controls_shutdown(controls);
controls->shuttingdown = ISC_TRUE;
}
* were in the previous configuration (if any) that do not
* remain in the current configuration.
*/
- ns_controls_shutdown(cp);
+ controls_shutdown(cp);
/*
* Put all of the valid listeners on the listeners list.