conf.h File Reference

API published in:
API deprecated in:


#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 conf_method_st  CONF_METHOD
typedef conf_imodule_st  CONF_IMODULE
typedef conf_module_st  CONF_MODULE
typedef int  conf_init_func (CONF_IMODULE *md, const CONF *cnf)
typedef void  conf_finish_func (CONF_IMODULE *md)
typedef IMPORT_C const char *  section

Functions

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

Define Documentation

#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_MFLAGS_IGNORE_ERRORS   0x1
 
#define CONF_MFLAGS_IGNORE_MISSING_FILE   0x10
 
#define CONF_MFLAGS_IGNORE_RETURN_CODES   0x2
 
#define CONF_MFLAGS_NO_DSO   0x8
 
#define CONF_MFLAGS_SILENT   0x4
 
#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
 
#define NCONF_get_number c,
g,
n,
 )     NCONF_get_number_e(c,g,n,r)
 

Typedef Documentation

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

Function Documentation

IMPORT_C int CONF_dump_bio LHASH conf,
BIO out
 
IMPORT_C int CONF_dump_fp LHASH conf,
FILE out
 
IMPORT_C void CONF_free LHASH conf  ) 
 
IMPORT_C char* CONF_get1_default_config_file void   ) 
 
IMPORT_C long CONF_get_number LHASH conf,
const char *  group,
const char *  name
 
IMPORT_C 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  ) 
 
IMPORT_C const char* CONF_imodule_get_name const CONF_IMODULE md  ) 
 
IMPORT_C void* CONF_imodule_get_usr_data const CONF_IMODULE md  ) 
 
IMPORT_C const char* CONF_imodule_get_value const CONF_IMODULE md  ) 
 
IMPORT_C void CONF_imodule_set_flags CONF_IMODULE md,
unsigned long  flags
 
IMPORT_C void CONF_imodule_set_usr_data CONF_IMODULE md,
void *  usr_data
 
IMPORT_C LHASH* CONF_load LHASH conf,
const char *  file,
long *  eline
 
IMPORT_C LHASH* CONF_load_bio LHASH conf,
BIO bp,
long *  eline
 
IMPORT_C LHASH* CONF_load_fp LHASH conf,
FILE fp,
long *  eline
 
IMPORT_C int CONF_module_add const char *  name,
conf_init_func ifunc,
conf_finish_func ffunc
 
IMPORT_C void* CONF_module_get_usr_data CONF_MODULE pmod  ) 
 
IMPORT_C void CONF_module_set_usr_data CONF_MODULE pmod,
void *  usr_data
 
IMPORT_C void CONF_modules_finish void   ) 
 
IMPORT_C void CONF_modules_free void   ) 
 
IMPORT_C int CONF_modules_load const CONF cnf,
const char *  appname,
unsigned long  flags
 
IMPORT_C int CONF_modules_load_file const char *  filename,
const char *  appname,
unsigned long  flags
 
IMPORT_C void CONF_modules_unload int  all  ) 
 
IMPORT_C int CONF_parse_list const char *  list,
int  sep,
int  nospc,
int(*)(const char *elem, int len, void *usr)  list_cb,
void *  arg
 
IMPORT_C int CONF_set_default_method CONF_METHOD meth  ) 
 
IMPORT_C void CONF_set_nconf CONF conf,
LHASH hash
 
DECLARE_STACK_OF CONF_VALUE   ) 
 
IMPORT_C void ERR_load_CONF_strings void   ) 
 
IMPORT_C CONF_METHOD* NCONF_default void   ) 
 
IMPORT_C int NCONF_dump_bio const CONF conf,
BIO out
 
IMPORT_C int NCONF_dump_fp const CONF conf,
FILE out
 
IMPORT_C void NCONF_free CONF conf  ) 
 
IMPORT_C void NCONF_free_data CONF conf  ) 
 
IMPORT_C int NCONF_get_number_e const CONF conf,
const char *  group,
const char *  name,
long *  result
 
IMPORT_C char* NCONF_get_string const CONF conf,
const char *  group,
const char *  name
 
IMPORT_C int NCONF_load CONF conf,
const char *  file,
long *  eline
 
IMPORT_C int NCONF_load_bio CONF conf,
BIO bp,
long *  eline
 
IMPORT_C int NCONF_load_fp CONF conf,
FILE fp,
long *  eline
 
IMPORT_C CONF* NCONF_new CONF_METHOD meth  ) 
 
IMPORT_C void OPENSSL_config const char *  config_name  ) 
 
IMPORT_C void OPENSSL_load_builtin_modules void   ) 
 
IMPORT_C void OPENSSL_no_config void   ) 
 
IMPORT_C STACK_OF CONF_VALUE   ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top