#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.
Defines | |
#define | PK11_RESULT_RESULTSET 2 |
Functions | |
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) |
Variables | |
LIBISC_EXTERNAL_DATA isc_msgcat_t * | pk11_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 PK11_RESULT_RESULTSET 2 |
static void open_msgcat | ( | void | ) | [static] |
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 | ) |
void pk11_result_register | ( | void | ) |
Definition at line 83 of file pk11_result.c.
References initialize().
Referenced by main(), and setup_libs().
LIBISC_EXTERNAL_DATA isc_msgcat_t* pk11_msgcat = NULL |
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.