00001 /* 00002 * Copyright (C) 2009, 2013 Internet Systems Consortium, Inc. ("ISC") 00003 * 00004 * Permission to use, copy, modify, and/or distribute this software for any 00005 * purpose with or without fee is hereby granted, provided that the above 00006 * copyright notice and this permission notice appear in all copies. 00007 * 00008 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 00009 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 00010 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 00011 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 00012 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 00013 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00014 * PERFORMANCE OF THIS SOFTWARE. 00015 */ 00016 00017 /* $Id: bind9.h,v 1.2 2009/12/05 23:31:41 each Exp $ */ 00018 00019 #ifndef ISC_BIND9_H 00020 #define ISC_BIND9_H 1 00021 00022 #include <isc/boolean.h> 00023 #include <isc/platform.h> 00024 00025 /* 00026 * This determines whether we are using the libisc/libdns libraries 00027 * in BIND9 or in some other application. For BIND9 (named and related 00028 * tools) it must be set to ISC_TRUE at runtime. Export library clients 00029 * will call isc_lib_register(), which will set it to ISC_FALSE. 00030 */ 00031 LIBISC_EXTERNAL_DATA extern isc_boolean_t isc_bind9; 00032 00033 #endif /* ISC_BIND9_H */