"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/lib/dns/include/dns/lib.h" (4 Sep 2020, 992 Bytes) of package /linux/misc/dns/bind9/9.17.5/bind-9.17.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "lib.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
    3  *
    4  * This Source Code Form is subject to the terms of the Mozilla Public
    5  * License, v. 2.0. If a copy of the MPL was not distributed with this
    6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    7  *
    8  * See the COPYRIGHT file distributed with this work for additional
    9  * information regarding copyright ownership.
   10  */
   11 
   12 #ifndef DNS_LIB_H
   13 #define DNS_LIB_H 1
   14 
   15 /*! \file dns/lib.h */
   16 
   17 #include <isc/lang.h>
   18 #include <isc/types.h>
   19 
   20 ISC_LANG_BEGINDECLS
   21 
   22 /*%
   23  * Tuning: external query load in packets per seconds.
   24  */
   25 LIBDNS_EXTERNAL_DATA extern unsigned int dns_pps;
   26 
   27 isc_result_t
   28 dns_lib_init(void);
   29 /*%<
   30  * A set of initialization procedures used in the DNS library.  This function
   31  * is provided for an application that is not aware of the underlying ISC or
   32  * DNS libraries much.
   33  */
   34 
   35 void
   36 dns_lib_shutdown(void);
   37 /*%<
   38  * Free temporary resources allocated in dns_lib_init().
   39  */
   40 
   41 ISC_LANG_ENDDECLS
   42 
   43 #endif /* DNS_LIB_H */