"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/bin/named/include/named/statschannel.h" (7 Sep 2020, 1357 Bytes) of package /linux/misc/dns/bind9/9.11.23/bind-9.11.23.tar.gz:


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 "statschannel.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 /* $Id: statschannel.h,v 1.3 2008/04/03 05:55:51 marka Exp $ */
   13 
   14 #ifndef NAMED_STATSCHANNEL_H
   15 #define NAMED_STATSCHANNEL_H 1
   16 
   17 /*! \file
   18  * \brief
   19  * The statistics channels built-in the name server.
   20  */
   21 
   22 #include <isccc/types.h>
   23 
   24 #include <isccfg/aclconf.h>
   25 
   26 #include <named/types.h>
   27 
   28 #define NS_STATSCHANNEL_HTTPPORT        80
   29 
   30 isc_result_t
   31 ns_statschannels_configure(ns_server_t *server, const cfg_obj_t *config,
   32                cfg_aclconfctx_t *aclconfctx);
   33 /*%<
   34  * [Re]configure the statistics channels.
   35  *
   36  * If it is no longer there but was previously configured, destroy
   37  * it here.
   38  *
   39  * If the IP address or port has changed, destroy the old server
   40  * and create a new one.
   41  */
   42 
   43 
   44 void
   45 ns_statschannels_shutdown(ns_server_t *server);
   46 /*%<
   47  * Initiate shutdown of all the statistics channel listeners.
   48  */
   49 
   50 isc_result_t
   51 ns_stats_dump(ns_server_t *server, FILE *fp);
   52 /*%<
   53  * Dump statistics counters managed by the server to the file fp.
   54  */
   55 
   56 #endif  /* NAMED_STATSCHANNEL_H */