/*
* Copyright (C) 2009, 2013-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: app_api.c,v 1.5 2009/09/02 23:48:02 tbox Exp $ */
#include <config.h>
#include <unistd.h>
static void
initialize(void) {
}
LOCK(&createlock);
if (appctx_createfunc == NULL)
else
UNLOCK(&createlock);
return (result);
}
if (isc_bind9)
LOCK(&createlock);
UNLOCK(&createlock);
return (result);
}
void
if (isc_bind9)
else
}
if (isc_bind9)
return (isc__app_ctxstart(ctx));
}
if (isc_bind9)
return (isc__app_ctxrun(ctx));
}
void *arg)
{
if (isc_bind9)
}
if (isc_bind9)
return (isc__app_ctxsuspend(ctx));
}
if (isc_bind9)
return (isc__app_ctxshutdown(ctx));
}
void
if (isc_bind9)
}
void
if (isc_bind9)
}
void
if (isc_bind9)
}
void
if (isc_bind9)
}
isc_app_start(void) {
if (isc_bind9)
return (isc__app_start());
return (ISC_R_NOTIMPLEMENTED);
}
{
if (isc_bind9)
return (ISC_R_NOTIMPLEMENTED);
}
isc_app_run() {
if (isc_bind9) {
result = isc__app_run();
return (result);
}
return (ISC_R_NOTIMPLEMENTED);
}
return (is_running);
}
isc_app_shutdown(void) {
if (isc_bind9)
return (isc__app_shutdown());
return (ISC_R_NOTIMPLEMENTED);
}
isc_app_reload(void) {
if (isc_bind9)
return (isc__app_reload());
return (ISC_R_NOTIMPLEMENTED);
}
void
isc_app_finish(void) {
if (!isc_bind9)
return;
}
void
isc_app_block(void) {
if (!isc_bind9)
return;
}
void
isc_app_unblock(void) {
if (!isc_bind9)
return;
}