"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/bin/named/include/named/main.h" (7 Sep 2020, 951 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 "main.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 NAMED_MAIN_H
   13 #define NAMED_MAIN_H 1
   14 
   15 /*! \file */
   16 
   17 #ifdef ISC_MAIN_HOOK
   18 #define main(argc, argv) bindmain(argc, argv)
   19 #endif
   20 
   21 /*
   22  * Commandline arguments for named; also referenced in win32/ntservice.c
   23  */
   24 #define NS_MAIN_ARGS "46A:c:C:d:D:E:fFgi:lL:M:m:n:N:p:P:sS:t:T:U:u:vVx:X:"
   25 
   26 ISC_PLATFORM_NORETURN_PRE void
   27 ns_main_earlyfatal(const char *format, ...)
   28 ISC_FORMAT_PRINTF(1, 2) ISC_PLATFORM_NORETURN_POST;
   29 
   30 void
   31 ns_main_earlywarning(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
   32 
   33 void
   34 ns_main_setmemstats(const char *);
   35 
   36 #endif /* NAMED_MAIN_H */