aboutsummaryrefslogtreecommitdiff
path: root/lib/isc/win32/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/win32/app.c')
-rw-r--r--lib/isc/win32/app.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/isc/win32/app.c b/lib/isc/win32/app.c
index b0db90d410bd..04b1638783eb 100644
--- a/lib/isc/win32/app.c
+++ b/lib/isc/win32/app.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: app.c,v 1.7 2007/06/19 23:47:19 tbox Exp $ */
+/* $Id: app.c,v 1.9 2009/09/02 23:48:03 tbox Exp $ */
#include <config.h>
@@ -75,7 +75,7 @@ DWORD dwWaitResult;
static isc_thread_t main_thread;
isc_result_t
-isc_app_start(void) {
+isc__app_start(void) {
isc_result_t result;
/*
@@ -99,7 +99,7 @@ isc_app_start(void) {
}
isc_result_t
-isc_app_onrun(isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action,
+isc__app_onrun(isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action,
void *arg) {
isc_event_t *event;
isc_task_t *cloned_task = NULL;
@@ -133,7 +133,7 @@ isc_app_onrun(isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action,
}
isc_result_t
-isc_app_run(void) {
+isc__app_run(void) {
isc_event_t *event, *next_event;
isc_task_t *task;
HANDLE *pHandles = NULL;
@@ -170,7 +170,7 @@ isc_app_run(void) {
FALSE, INFINITE);
/* See why we returned */
-
+
if (WaitSucceeded(dwWaitResult, NUM_EVENTS)) {
/*
* The return was due to one of the events
@@ -199,7 +199,7 @@ isc_app_run(void) {
}
isc_result_t
-isc_app_shutdown(void) {
+isc__app_shutdown(void) {
isc_boolean_t want_kill = ISC_TRUE;
LOCK(&lock);
@@ -218,7 +218,7 @@ isc_app_shutdown(void) {
}
isc_result_t
-isc_app_reload(void) {
+isc__app_reload(void) {
isc_boolean_t want_reload = ISC_TRUE;
LOCK(&lock);
@@ -238,12 +238,12 @@ isc_app_reload(void) {
}
void
-isc_app_finish(void) {
+isc__app_finish(void) {
DESTROYLOCK(&lock);
}
void
-isc_app_block(void) {
+isc__app_block(void) {
REQUIRE(running);
REQUIRE(!blocked);
@@ -252,7 +252,7 @@ isc_app_block(void) {
}
void
-isc_app_unblock(void) {
+isc__app_unblock(void) {
REQUIRE(running);
REQUIRE(blocked);
blocked = ISC_FALSE;