2009-12-05 23:31:41 +00:00
|
|
|
/*
|
2013-04-10 23:46:01 +00:00
|
|
|
* Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
|
2009-12-05 23:31:41 +00:00
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
|
|
* copyright notice and this permission notice appear in all copies.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2013-04-10 13:49:57 -07:00
|
|
|
/*! \file */
|
2009-12-05 23:31:41 +00:00
|
|
|
|
2013-04-10 14:23:54 -07:00
|
|
|
#include <config.h>
|
|
|
|
|
2013-04-10 13:49:57 -07:00
|
|
|
#include <isc/bind9.h>
|
2009-12-05 23:31:41 +00:00
|
|
|
|
|
|
|
/*
|
2013-04-10 13:49:57 -07:00
|
|
|
* This determines whether we are using the libisc/libdns libraries
|
|
|
|
* in BIND9 or in some other application. It is initialized to ISC_TRUE
|
|
|
|
* and remains unchanged for BIND9 and related tools; export library
|
|
|
|
* clients will run isc_lib_register(), which sets it to ISC_FALSE,
|
|
|
|
* overriding certain BIND9 behaviors.
|
2009-12-05 23:31:41 +00:00
|
|
|
*/
|
2013-04-10 13:49:57 -07:00
|
|
|
LIBISC_EXTERNAL_DATA isc_boolean_t isc_bind9 = ISC_TRUE;
|