pk11_result.c File Reference

#include <config.h>
#include <stddef.h>
#include <isc/once.h>
#include <isc/msgcat.h>
#include <isc/util.h>
#include <pk11/result.h>

Go to the source code of this file.




static void open_msgcat (void)
void pk11_initmsgcat (void)
static void initialize_action (void)
static void initialize (void)
const char * pk11_result_totext (isc_result_t result)
void pk11_result_register (void)


LIBISC_EXTERNAL_DATA isc_msgcat_tpk11_msgcat = NULL
static isc_once_t msgcat_once = ISC_ONCE_INIT
static const char * text [PK11_R_NRESULTS]
static isc_once_t once = ISC_ONCE_INIT

Define Documentation


Definition at line 38 of file pk11_result.c.

Referenced by initialize_action().

Function Documentation

static void open_msgcat ( void   )  [static]

Definition at line 43 of file pk11_result.c.

References isc_msgcat_open(), and pk11_msgcat.

void pk11_initmsgcat ( void   ) 

Definition at line 48 of file pk11_result.c.

References isc_once_do, ISC_R_SUCCESS, msgcat_once, open_msgcat(), and RUNTIME_CHECK.

Referenced by initialize().

static void initialize_action ( void   )  [static]

Definition at line 59 of file pk11_result.c.

References ISC_R_SUCCESS, isc_result_register(), ISC_RESULTCLASS_PK11, pk11_msgcat, PK11_R_NRESULTS, PK11_RESULT_RESULTSET, text, and UNEXPECTED_ERROR.

static void initialize ( void   )  [static]

Definition at line 70 of file pk11_result.c.

References initialize_action(), isc_once_do, ISC_R_SUCCESS, once, pk11_initmsgcat(), and RUNTIME_CHECK.

const char* pk11_result_totext ( isc_result_t  result  ) 

Definition at line 76 of file pk11_result.c.

References initialize(), and isc_result_totext().

void pk11_result_register ( void   ) 

Definition at line 83 of file pk11_result.c.

References initialize().

Referenced by main(), and setup_libs().

Variable Documentation

LIBISC_EXTERNAL_DATA isc_msgcat_t* pk11_msgcat = NULL

Definition at line 26 of file pk11_result.c.

Referenced by initialize_action(), and open_msgcat().

isc_once_t msgcat_once = ISC_ONCE_INIT [static]

Definition at line 28 of file pk11_result.c.

const char* text[PK11_R_NRESULTS] [static]

Initial value:

        "PKCS#11 initialization failed",                
        "no PKCS#11 provider",                          
        "PKCS#11 provider has no random service",       
        "PKCS#11 provider has no digest service",       
        "PKCS#11 provider has no AES service",          

Definition at line 30 of file pk11_result.c.

Referenced by cfg_print_rawaddr(), control_recvmessage(), dns_keyflags_fromtext(), dns_keytable_dump(), dns_ntatable_dump(), initialize_action(), ns_lwresd_parseeresolvconf(), and printa().

isc_once_t once = ISC_ONCE_INIT [static]

Definition at line 40 of file pk11_result.c.

Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha