dst_result.c File Reference

#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
Id
dst_result.c,v 1.7 2008/04/01 23:47:10 tbox Exp
.
static isc_once_t once = ISC_ONCE_INIT


Detailed Description

Definition in file dst_result.c.


Define Documentation

#define DST_RESULT_RESULTSET   2

Definition at line 57 of file dst_result.c.

Referenced by initialize_action().


Function Documentation

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  ) 

Definition at line 79 of file dst_result.c.

References initialize(), and isc_result_totext().

void dst_result_register ( void   ) 

Definition at line 86 of file dst_result.c.

References initialize().

Referenced by dst_lib_init2(), and main().


Variable Documentation

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",
}
Principal Author: Brian Wellington
Id
dst_result.c,v 1.7 2008/04/01 23:47:10 tbox Exp
.

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.


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