Files
netbsd/external/bsd/bind/dist/lib/isc/bind9.c
2015-10-15 10:25:28 +02:00

33 lines
1.3 KiB
C

/* $NetBSD: bind9.c,v 1.1.1.3 2014/12/10 03:34:43 christos Exp $ */
/*
* Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
*
* 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.
*/
/*! \file */
#include <config.h>
#include <isc/bind9.h>
/*
* 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.
*/
LIBISC_EXTERNAL_DATA isc_boolean_t isc_bind9 = ISC_TRUE;