#include <config.h>
#include <isc/once.h>
#include <isc/util.h>
#include <dst/result.h>
#include <dst/lib.h>
Go to the source code of this file.
Defines | |
#define | DST_RESULT_RESULTSET 2 |
Functions | |
static void | initialize_action (void) |
static void | initialize (void) |
const char * | dst_result_totext (isc_result_t result) |
void | dst_result_register (void) |
Variables | |
static const char * | text [DST_R_NRESULTS] |
Principal Author: Brian Wellington
| |
static isc_once_t | once = ISC_ONCE_INIT |
Definition in file dst_result.c.
#define DST_RESULT_RESULTSET 2 |
static void initialize_action | ( | void | ) | [static] |
Definition at line 62 of file dst_result.c.
References dst_msgcat, DST_R_NRESULTS, DST_RESULT_RESULTSET, ISC_R_SUCCESS, isc_result_register(), ISC_RESULTCLASS_DST, text, and UNEXPECTED_ERROR.
static void initialize | ( | void | ) | [static] |
Definition at line 73 of file dst_result.c.
References dst_lib_initmsgcat(), initialize_action(), isc_once_do, ISC_R_SUCCESS, once, and RUNTIME_CHECK.
const char* dst_result_totext | ( | isc_result_t | result | ) |
void dst_result_register | ( | void | ) |
Definition at line 86 of file dst_result.c.
References initialize().
Referenced by dst_lib_init2(), and main().
const char* text[DST_R_NRESULTS] [static] |
Initial value:
{ "algorithm is unsupported", "crypto failure", "built with no crypto support", "illegal operation for a null key", "public key is invalid", "private key is invalid", "external key", "error occurred writing key to disk", "invalid algorithm specific parameter", "UNUSED9", "UNUSED10", "sign failure", "UNUSED12", "UNUSED13", "verify failure", "not a public key", "not a private key", "not a key that can compute a secret", "failure computing a shared secret", "no randomness available", "bad key type", "no engine", "illegal operation for an external key", }
Definition at line 31 of file dst_result.c.
isc_once_t once = ISC_ONCE_INIT [static] |
Definition at line 59 of file dst_result.c.