Home | History | Annotate | Line # | Download | only in isc
      1 /*	$NetBSD: bind9.c,v 1.1 2024/02/18 20:57:48 christos Exp $	*/
      2 
      3 /*
      4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      5  *
      6  * SPDX-License-Identifier: MPL-2.0
      7  *
      8  * This Source Code Form is subject to the terms of the Mozilla Public
      9  * License, v. 2.0. If a copy of the MPL was not distributed with this
     10  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
     11  *
     12  * See the COPYRIGHT file distributed with this work for additional
     13  * information regarding copyright ownership.
     14  */
     15 
     16 /*! \file */
     17 
     18 #include <stdbool.h>
     19 
     20 #include <isc/bind9.h>
     21 
     22 /*
     23  * This determines whether we are using the libisc/libdns libraries
     24  * in BIND9 or in some other application. It is initialized to true
     25  * and remains unchanged for BIND9 and related tools; export library
     26  * clients will run isc_lib_register(), which sets it to false,
     27  * overriding certain BIND9 behaviors.
     28  */
     29 LIBISC_EXTERNAL_DATA bool isc_bind9 = true;
     30