"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.16.7/lib/isc/win32/include/isc/bindevt.h" (4 Sep 2020, 1703 Bytes) of package /linux/misc/dns/bind9/9.16.7/bind-9.16.7.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 "bindevt.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 ISC_BINDEVT_H
   13 #define ISC_BINDEVT_H 1
   14 
   15 /*
   16  * This is used for the event log for both logging the messages and
   17  * later on by the event viewer when looking at the events
   18  */
   19 
   20 /*
   21  * Values are 32 bit values laid out as follows:
   22  *
   23  *   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
   24  *   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
   25  *  +---+-+-+-----------------------+-------------------------------+
   26  *  |Sev|C|R|     Facility          |               Code            |
   27  *  +---+-+-+-----------------------+-------------------------------+
   28  *
   29  *  where
   30  *
   31  *      Sev - is the severity code
   32  *
   33  *          00 - Success
   34  *          01 - Informational
   35  *          10 - Warning
   36  *          11 - Error
   37  *
   38  *      C - is the Customer code flag
   39  *
   40  *      R - is a reserved bit
   41  *
   42  *      Facility - is the facility code
   43  *
   44  *      Code - is the facility's status code
   45  *
   46  *
   47  * Define the facility codes
   48  */
   49 
   50 /*
   51  * Define the severity codes
   52  */
   53 
   54 /*
   55  * MessageId: BIND_ERR_MSG
   56  *
   57  * MessageText:
   58  *
   59  *  %1
   60  */
   61 #define BIND_ERR_MSG ((DWORD)0xC0000001L)
   62 
   63 /*
   64  * MessageId: BIND_WARN_MSG
   65  *
   66  * MessageText:
   67  *
   68  *  %1
   69  */
   70 #define BIND_WARN_MSG ((DWORD)0x80000002L)
   71 
   72 /*
   73  * MessageId: BIND_INFO_MSG
   74  *
   75  * MessageText:
   76  *
   77  *  %1
   78  */
   79 #define BIND_INFO_MSG ((DWORD)0x40000003L)
   80 
   81 #endif /* ISC_BINDEVT_H */