"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/lib/isc/include/pk11/result.h" (4 Sep 2020, 1303 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 "result.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 PK11_RESULT_H
   13 #define PK11_RESULT_H 1
   14 
   15 /*! \file pk11/result.h */
   16 
   17 #include <isc/lang.h>
   18 #include <isc/resultclass.h>
   19 #include <isc/types.h>
   20 
   21 /*
   22  * Nothing in this file truly depends on <isc/result.h>, but the
   23  * PK11 result codes are considered to be publicly derived from
   24  * the ISC result codes, so including this file buys you the ISC_R_
   25  * namespace too.
   26  */
   27 #include <isc/result.h> /* Contractual promise. */
   28 
   29 #define PK11_R_INITFAILED      (ISC_RESULTCLASS_PK11 + 0)
   30 #define PK11_R_NOPROVIDER      (ISC_RESULTCLASS_PK11 + 1)
   31 #define PK11_R_NORANDOMSERVICE (ISC_RESULTCLASS_PK11 + 2)
   32 #define PK11_R_NODIGESTSERVICE (ISC_RESULTCLASS_PK11 + 3)
   33 #define PK11_R_NOAESSERVICE    (ISC_RESULTCLASS_PK11 + 4)
   34 
   35 #define PK11_R_NRESULTS 5 /* Number of results */
   36 
   37 ISC_LANG_BEGINDECLS
   38 
   39 const char *pk11_result_totext(isc_result_t);
   40 
   41 void
   42 pk11_result_register(void);
   43 
   44 ISC_LANG_ENDDECLS
   45 
   46 #endif /* PK11_RESULT_H */