diff options
author | dougb <dougb@FreeBSD.org> | 2011-02-05 03:14:55 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-02-05 03:14:55 +0000 |
commit | 8287cb3f73a2d36684fdf69f4009f28e17dd3800 (patch) | |
tree | 601b0776df11a070020ab894b76fd90e36393936 /lib/isc/task.c | |
parent | d2262df647cb68b7a55a79623696e646c546774e (diff) | |
download | FreeBSD-src-8287cb3f73a2d36684fdf69f4009f28e17dd3800.zip FreeBSD-src-8287cb3f73a2d36684fdf69f4009f28e17dd3800.tar.gz |
Vendor import of BIND 9.6.3
Diffstat (limited to 'lib/isc/task.c')
-rw-r--r-- | lib/isc/task.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/isc/task.c b/lib/isc/task.c index a630173..5d87f21 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2008, 2010 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: task.c,v 1.107 2008/03/27 23:46:57 tbox Exp $ */ +/* $Id: task.c,v 1.107.120.2 2010-12-03 23:45:47 tbox Exp $ */ /*! \file * \author Principal Author: Bob Halley @@ -1292,8 +1292,15 @@ isc_task_endexclusive(isc_task_t *task) { #endif } -#ifdef HAVE_LIBXML2 +isc_boolean_t +isc_task_exiting(isc_task_t *t) { + isc_task_t *task = (isc_task_t *)t; + + REQUIRE(VALID_TASK(task)); + return (TASK_SHUTTINGDOWN(task)); +} +#ifdef HAVE_LIBXML2 void isc_taskmgr_renderxml(isc_taskmgr_t *mgr, xmlTextWriterPtr writer) { |