conf.h File Reference

#include <openssl/bio.h>
#include <openssl/lhash.h>
#include <openssl/stack.h>
#include <openssl/safestack.h>
#include <openssl/e_os2.h>
#include <openssl/ossl_typ.h>

Go to the source code of this file.

Data Structures

struct  CONF_VALUE
struct  conf_method_st
struct  conf_st

Defines

#define CONF_MFLAGS_IGNORE_ERRORS   0x1
#define CONF_MFLAGS_IGNORE_RETURN_CODES   0x2
#define CONF_MFLAGS_SILENT   0x4
#define CONF_MFLAGS_NO_DSO   0x8
#define CONF_MFLAGS_IGNORE_MISSING_FILE   0x10
#define NCONF_get_number(c, g, n, r)   NCONF_get_number_e(c,g,n,r)
#define CONF_F_CONF_DUMP_FP   104
#define CONF_F_CONF_LOAD   100
#define CONF_F_CONF_LOAD_BIO   102
#define CONF_F_CONF_LOAD_FP   103
#define CONF_F_CONF_MODULES_LOAD   116
#define CONF_F_DEF_LOAD   120
#define CONF_F_DEF_LOAD_BIO   121
#define CONF_F_MODULE_INIT   115
#define CONF_F_MODULE_LOAD_DSO   117
#define CONF_F_MODULE_RUN   118
#define CONF_F_NCONF_DUMP_BIO   105
#define CONF_F_NCONF_DUMP_FP   106
#define CONF_F_NCONF_GET_NUMBER   107
#define CONF_F_NCONF_GET_NUMBER_E   112
#define CONF_F_NCONF_GET_SECTION   108
#define CONF_F_NCONF_GET_STRING   109
#define CONF_F_NCONF_LOAD   113
#define CONF_F_NCONF_LOAD_BIO   110
#define CONF_F_NCONF_LOAD_FP   114
#define CONF_F_NCONF_NEW   111
#define CONF_F_STR_COPY   101
#define CONF_R_ERROR_LOADING_DSO   110
#define CONF_R_MISSING_CLOSE_SQUARE_BRACKET   100
#define CONF_R_MISSING_EQUAL_SIGN   101
#define CONF_R_MISSING_FINISH_FUNCTION   111
#define CONF_R_MISSING_INIT_FUNCTION   112
#define CONF_R_MODULE_INITIALIZATION_ERROR   109
#define CONF_R_NO_CLOSE_BRACE   102
#define CONF_R_NO_CONF   105
#define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE   106
#define CONF_R_NO_SECTION   107
#define CONF_R_NO_SUCH_FILE   114
#define CONF_R_NO_VALUE   108
#define CONF_R_UNABLE_TO_CREATE_NEW_SECTION   103
#define CONF_R_UNKNOWN_MODULE_NAME   113
#define CONF_R_VARIABLE_HAS_NO_VALUE   104

Typedefs

typedef struct conf_method_st CONF_METHOD
typedef struct conf_imodule_st CONF_IMODULE
typedef struct conf_module_st CONF_MODULE
typedef int conf_init_func (CONF_IMODULE *md, const CONF *cnf)
typedef void conf_finish_func (CONF_IMODULE *md)

Functions

int CONF_set_default_method (CONF_METHOD *meth)
void CONF_set_nconf (CONF *conf, LHASH *hash)
LHASHCONF_load (LHASH *conf, const char *file, long *eline)
LHASHCONF_load_fp (LHASH *conf, FILE *fp, long *eline)
LHASHCONF_load_bio (LHASH *conf, BIO *bp, long *eline)
 STACK_OF (CONF_VALUE)*CONF_get_section(LHASH *conf
char * CONF_get_string (LHASH *conf, const char *group, const char *name)
long CONF_get_number (LHASH *conf, const char *group, const char *name)
void CONF_free (LHASH *conf)
int CONF_dump_fp (LHASH *conf, FILE *out)
int CONF_dump_bio (LHASH *conf, BIO *out)
void OPENSSL_config (const char *config_name)
void OPENSSL_no_config (void)
CONFNCONF_new (CONF_METHOD *meth)
CONF_METHODNCONF_default (void)
CONF_METHODNCONF_WIN32 (void)
void NCONF_free (CONF *conf)
void NCONF_free_data (CONF *conf)
int NCONF_load (CONF *conf, const char *file, long *eline)
int NCONF_load_fp (CONF *conf, FILE *fp, long *eline)
int NCONF_load_bio (CONF *conf, BIO *bp, long *eline)
char * NCONF_get_string (const CONF *conf, const char *group, const char *name)
int NCONF_get_number_e (const CONF *conf, const char *group, const char *name, long *result)
int NCONF_dump_fp (const CONF *conf, FILE *out)
int NCONF_dump_bio (const CONF *conf, BIO *out)
int CONF_modules_load (const CONF *cnf, const char *appname, unsigned long flags)
int CONF_modules_load_file (const char *filename, const char *appname, unsigned long flags)
void CONF_modules_unload (int all)
void CONF_modules_finish (void)
void CONF_modules_free (void)
int CONF_module_add (const char *name, conf_init_func *ifunc, conf_finish_func *ffunc)
const char * CONF_imodule_get_name (const CONF_IMODULE *md)
const char * CONF_imodule_get_value (const CONF_IMODULE *md)
void * CONF_imodule_get_usr_data (const CONF_IMODULE *md)
void CONF_imodule_set_usr_data (CONF_IMODULE *md, void *usr_data)
CONF_MODULECONF_imodule_get_module (const CONF_IMODULE *md)
unsigned long CONF_imodule_get_flags (const CONF_IMODULE *md)
void CONF_imodule_set_flags (CONF_IMODULE *md, unsigned long flags)
void * CONF_module_get_usr_data (CONF_MODULE *pmod)
void CONF_module_set_usr_data (CONF_MODULE *pmod, void *usr_data)
char * CONF_get1_default_config_file (void)
int CONF_parse_list (const char *list, int sep, int nospc, int(*list_cb)(const char *elem, int len, void *usr), void *arg)
void OPENSSL_load_builtin_modules (void)
void ERR_load_CONF_strings (void)

Variables

const char * section


Define Documentation

#define CONF_F_CONF_DUMP_FP   104

Definition at line 211 of file conf.h.

#define CONF_F_CONF_LOAD   100

Definition at line 212 of file conf.h.

#define CONF_F_CONF_LOAD_BIO   102

Definition at line 213 of file conf.h.

#define CONF_F_CONF_LOAD_FP   103

Definition at line 214 of file conf.h.

#define CONF_F_CONF_MODULES_LOAD   116

Definition at line 215 of file conf.h.

#define CONF_F_DEF_LOAD   120

Definition at line 216 of file conf.h.

#define CONF_F_DEF_LOAD_BIO   121

Definition at line 217 of file conf.h.

#define CONF_F_MODULE_INIT   115

Definition at line 218 of file conf.h.

#define CONF_F_MODULE_LOAD_DSO   117

Definition at line 219 of file conf.h.

#define CONF_F_MODULE_RUN   118

Definition at line 220 of file conf.h.

#define CONF_F_NCONF_DUMP_BIO   105

Definition at line 221 of file conf.h.

#define CONF_F_NCONF_DUMP_FP   106

Definition at line 222 of file conf.h.

#define CONF_F_NCONF_GET_NUMBER   107

Definition at line 223 of file conf.h.

#define CONF_F_NCONF_GET_NUMBER_E   112

Definition at line 224 of file conf.h.

#define CONF_F_NCONF_GET_SECTION   108

Definition at line 225 of file conf.h.

#define CONF_F_NCONF_GET_STRING   109

Definition at line 226 of file conf.h.

#define CONF_F_NCONF_LOAD   113

Definition at line 227 of file conf.h.

#define CONF_F_NCONF_LOAD_BIO   110

Definition at line 228 of file conf.h.

#define CONF_F_NCONF_LOAD_FP   114

Definition at line 229 of file conf.h.

#define CONF_F_NCONF_NEW   111

Definition at line 230 of file conf.h.

#define CONF_F_STR_COPY   101

Definition at line 231 of file conf.h.

#define CONF_MFLAGS_IGNORE_ERRORS   0x1

Definition at line 112 of file conf.h.

#define CONF_MFLAGS_IGNORE_MISSING_FILE   0x10

Definition at line 116 of file conf.h.

#define CONF_MFLAGS_IGNORE_RETURN_CODES   0x2

Definition at line 113 of file conf.h.

#define CONF_MFLAGS_NO_DSO   0x8

Definition at line 115 of file conf.h.

#define CONF_MFLAGS_SILENT   0x4

Definition at line 114 of file conf.h.

#define CONF_R_ERROR_LOADING_DSO   110

Definition at line 234 of file conf.h.

#define CONF_R_MISSING_CLOSE_SQUARE_BRACKET   100

Definition at line 235 of file conf.h.

#define CONF_R_MISSING_EQUAL_SIGN   101

Definition at line 236 of file conf.h.

#define CONF_R_MISSING_FINISH_FUNCTION   111

Definition at line 237 of file conf.h.

#define CONF_R_MISSING_INIT_FUNCTION   112

Definition at line 238 of file conf.h.

#define CONF_R_MODULE_INITIALIZATION_ERROR   109

Definition at line 239 of file conf.h.

#define CONF_R_NO_CLOSE_BRACE   102

Definition at line 240 of file conf.h.

#define CONF_R_NO_CONF   105

Definition at line 241 of file conf.h.

#define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE   106

Definition at line 242 of file conf.h.

#define CONF_R_NO_SECTION   107

Definition at line 243 of file conf.h.

#define CONF_R_NO_SUCH_FILE   114

Definition at line 244 of file conf.h.

#define CONF_R_NO_VALUE   108

Definition at line 245 of file conf.h.

#define CONF_R_UNABLE_TO_CREATE_NEW_SECTION   103

Definition at line 246 of file conf.h.

#define CONF_R_UNKNOWN_MODULE_NAME   113

Definition at line 247 of file conf.h.

#define CONF_R_VARIABLE_HAS_NO_VALUE   104

Definition at line 248 of file conf.h.

#define NCONF_get_number ( c,
g,
n,
 )     NCONF_get_number_e(c,g,n,r)

Definition at line 170 of file conf.h.


Typedef Documentation

typedef void conf_finish_func(CONF_IMODULE *md)

Definition at line 110 of file conf.h.

typedef struct conf_imodule_st CONF_IMODULE

Definition at line 105 of file conf.h.

typedef int conf_init_func(CONF_IMODULE *md, const CONF *cnf)

Definition at line 109 of file conf.h.

typedef struct conf_method_st CONF_METHOD

Definition at line 87 of file conf.h.

typedef struct conf_module_st CONF_MODULE

Definition at line 106 of file conf.h.


Function Documentation

int CONF_dump_bio ( LHASH conf,
BIO out 
)

int CONF_dump_fp ( LHASH conf,
FILE *  out 
)

void CONF_free ( LHASH conf  ) 

char* CONF_get1_default_config_file ( void   ) 

long CONF_get_number ( LHASH conf,
const char *  group,
const char *  name 
)

char* CONF_get_string ( LHASH conf,
const char *  group,
const char *  name 
)

unsigned long CONF_imodule_get_flags ( const CONF_IMODULE md  ) 

CONF_MODULE* CONF_imodule_get_module ( const CONF_IMODULE md  ) 

const char* CONF_imodule_get_name ( const CONF_IMODULE md  ) 

void* CONF_imodule_get_usr_data ( const CONF_IMODULE md  ) 

const char* CONF_imodule_get_value ( const CONF_IMODULE md  ) 

void CONF_imodule_set_flags ( CONF_IMODULE md,
unsigned long  flags 
)

void CONF_imodule_set_usr_data ( CONF_IMODULE md,
void *  usr_data 
)

LHASH* CONF_load ( LHASH conf,
const char *  file,
long *  eline 
)

LHASH* CONF_load_bio ( LHASH conf,
BIO bp,
long *  eline 
)

LHASH* CONF_load_fp ( LHASH conf,
FILE *  fp,
long *  eline 
)

int CONF_module_add ( const char *  name,
conf_init_func ifunc,
conf_finish_func ffunc 
)

void* CONF_module_get_usr_data ( CONF_MODULE pmod  ) 

void CONF_module_set_usr_data ( CONF_MODULE pmod,
void *  usr_data 
)

void CONF_modules_finish ( void   ) 

void CONF_modules_free ( void   ) 

int CONF_modules_load ( const CONF cnf,
const char *  appname,
unsigned long  flags 
)

int CONF_modules_load_file ( const char *  filename,
const char *  appname,
unsigned long  flags 
)

void CONF_modules_unload ( int  all  ) 

int CONF_parse_list ( const char *  list,
int  sep,
int  nospc,
int(*)(const char *elem, int len, void *usr)  list_cb,
void *  arg 
)

int CONF_set_default_method ( CONF_METHOD meth  ) 

void CONF_set_nconf ( CONF conf,
LHASH hash 
)

void ERR_load_CONF_strings ( void   ) 

CONF_METHOD* NCONF_default ( void   ) 

int NCONF_dump_bio ( const CONF conf,
BIO out 
)

int NCONF_dump_fp ( const CONF conf,
FILE *  out 
)

void NCONF_free ( CONF conf  ) 

void NCONF_free_data ( CONF conf  ) 

int NCONF_get_number_e ( const CONF conf,
const char *  group,
const char *  name,
long *  result 
)

char* NCONF_get_string ( const CONF conf,
const char *  group,
const char *  name 
)

int NCONF_load ( CONF conf,
const char *  file,
long *  eline 
)

int NCONF_load_bio ( CONF conf,
BIO bp,
long *  eline 
)

int NCONF_load_fp ( CONF conf,
FILE *  fp,
long *  eline 
)

CONF* NCONF_new ( CONF_METHOD meth  ) 

CONF_METHOD* NCONF_WIN32 ( void   ) 

void OPENSSL_config ( const char *  config_name  ) 

void OPENSSL_load_builtin_modules ( void   ) 

void OPENSSL_no_config ( void   ) 

STACK_OF ( CONF_VALUE   ) 


Variable Documentation

const char * section

Definition at line 125 of file conf.h.


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6