dso.h File Reference

#include <openssl/crypto.h>

Go to the source code of this file.

Data Structures

struct  dso_meth_st
struct  dso_st

Defines

#define DSO_CTRL_GET_FLAGS   1
#define DSO_CTRL_SET_FLAGS   2
#define DSO_CTRL_OR_FLAGS   3
#define DSO_FLAG_NO_NAME_TRANSLATION   0x01
#define DSO_FLAG_NAME_TRANSLATION_EXT_ONLY   0x02
#define DSO_FLAG_UPCASE_SYMBOL   0x10
#define DSO_FLAG_GLOBAL_SYMBOLS   0x20
#define DSO_F_DLFCN_BIND_FUNC   100
#define DSO_F_DLFCN_BIND_VAR   101
#define DSO_F_DLFCN_LOAD   102
#define DSO_F_DLFCN_MERGER   130
#define DSO_F_DLFCN_NAME_CONVERTER   123
#define DSO_F_DLFCN_UNLOAD   103
#define DSO_F_DL_BIND_FUNC   104
#define DSO_F_DL_BIND_VAR   105
#define DSO_F_DL_LOAD   106
#define DSO_F_DL_MERGER   131
#define DSO_F_DL_NAME_CONVERTER   124
#define DSO_F_DL_UNLOAD   107
#define DSO_F_DSO_BIND_FUNC   108
#define DSO_F_DSO_BIND_VAR   109
#define DSO_F_DSO_CONVERT_FILENAME   126
#define DSO_F_DSO_CTRL   110
#define DSO_F_DSO_FREE   111
#define DSO_F_DSO_GET_FILENAME   127
#define DSO_F_DSO_GET_LOADED_FILENAME   128
#define DSO_F_DSO_LOAD   112
#define DSO_F_DSO_MERGE   132
#define DSO_F_DSO_NEW_METHOD   113
#define DSO_F_DSO_SET_FILENAME   129
#define DSO_F_DSO_SET_NAME_CONVERTER   122
#define DSO_F_DSO_UP_REF   114
#define DSO_F_VMS_BIND_SYM   115
#define DSO_F_VMS_LOAD   116
#define DSO_F_VMS_MERGER   133
#define DSO_F_VMS_UNLOAD   117
#define DSO_F_WIN32_BIND_FUNC   118
#define DSO_F_WIN32_BIND_VAR   119
#define DSO_F_WIN32_JOINER   135
#define DSO_F_WIN32_LOAD   120
#define DSO_F_WIN32_MERGER   134
#define DSO_F_WIN32_NAME_CONVERTER   125
#define DSO_F_WIN32_SPLITTER   136
#define DSO_F_WIN32_UNLOAD   121
#define DSO_R_CTRL_FAILED   100
#define DSO_R_DSO_ALREADY_LOADED   110
#define DSO_R_EMPTY_FILE_STRUCTURE   113
#define DSO_R_FAILURE   114
#define DSO_R_FILENAME_TOO_BIG   101
#define DSO_R_FINISH_FAILED   102
#define DSO_R_INCORRECT_FILE_SYNTAX   115
#define DSO_R_LOAD_FAILED   103
#define DSO_R_NAME_TRANSLATION_FAILED   109
#define DSO_R_NO_FILENAME   111
#define DSO_R_NO_FILE_SPECIFICATION   116
#define DSO_R_NULL_HANDLE   104
#define DSO_R_SET_FILENAME_FAILED   112
#define DSO_R_STACK_ERROR   105
#define DSO_R_SYM_FAILURE   106
#define DSO_R_UNLOAD_FAILED   107
#define DSO_R_UNSUPPORTED   108

Typedefs

typedef void(* DSO_FUNC_TYPE )(void)
typedef struct dso_st DSO
typedef char *(* DSO_NAME_CONVERTER_FUNC )(DSO *, const char *)
typedef char *(* DSO_MERGER_FUNC )(DSO *, const char *, const char *)
typedef struct dso_meth_st DSO_METHOD

Functions

DSODSO_new (void)
DSODSO_new_method (DSO_METHOD *method)
int DSO_free (DSO *dso)
int DSO_flags (DSO *dso)
int DSO_up_ref (DSO *dso)
long DSO_ctrl (DSO *dso, int cmd, long larg, void *parg)
int DSO_set_name_converter (DSO *dso, DSO_NAME_CONVERTER_FUNC cb, DSO_NAME_CONVERTER_FUNC *oldcb)
const char * DSO_get_filename (DSO *dso)
int DSO_set_filename (DSO *dso, const char *filename)
char * DSO_convert_filename (DSO *dso, const char *filename)
char * DSO_merge (DSO *dso, const char *filespec1, const char *filespec2)
const char * DSO_get_loaded_filename (DSO *dso)
void DSO_set_default_method (DSO_METHOD *meth)
DSO_METHODDSO_get_default_method (void)
DSO_METHODDSO_get_method (DSO *dso)
DSO_METHODDSO_set_method (DSO *dso, DSO_METHOD *meth)
DSODSO_load (DSO *dso, const char *filename, DSO_METHOD *meth, int flags)
void * DSO_bind_var (DSO *dso, const char *symname)
DSO_FUNC_TYPE DSO_bind_func (DSO *dso, const char *symname)
DSO_METHODDSO_METHOD_openssl (void)
DSO_METHODDSO_METHOD_null (void)
DSO_METHODDSO_METHOD_dlfcn (void)
DSO_METHODDSO_METHOD_dl (void)
DSO_METHODDSO_METHOD_win32 (void)
DSO_METHODDSO_METHOD_vms (void)
void ERR_load_DSO_strings (void)


Define Documentation

#define DSO_CTRL_GET_FLAGS   1

Definition at line 69 of file dso.h.

#define DSO_CTRL_OR_FLAGS   3

Definition at line 71 of file dso.h.

#define DSO_CTRL_SET_FLAGS   2

Definition at line 70 of file dso.h.

#define DSO_F_DL_BIND_FUNC   104

Definition at line 314 of file dso.h.

#define DSO_F_DL_BIND_VAR   105

Definition at line 315 of file dso.h.

#define DSO_F_DL_LOAD   106

Definition at line 316 of file dso.h.

#define DSO_F_DL_MERGER   131

Definition at line 317 of file dso.h.

#define DSO_F_DL_NAME_CONVERTER   124

Definition at line 318 of file dso.h.

#define DSO_F_DL_UNLOAD   107

Definition at line 319 of file dso.h.

#define DSO_F_DLFCN_BIND_FUNC   100

Definition at line 308 of file dso.h.

#define DSO_F_DLFCN_BIND_VAR   101

Definition at line 309 of file dso.h.

#define DSO_F_DLFCN_LOAD   102

Definition at line 310 of file dso.h.

#define DSO_F_DLFCN_MERGER   130

Definition at line 311 of file dso.h.

#define DSO_F_DLFCN_NAME_CONVERTER   123

Definition at line 312 of file dso.h.

#define DSO_F_DLFCN_UNLOAD   103

Definition at line 313 of file dso.h.

#define DSO_F_DSO_BIND_FUNC   108

Definition at line 320 of file dso.h.

#define DSO_F_DSO_BIND_VAR   109

Definition at line 321 of file dso.h.

#define DSO_F_DSO_CONVERT_FILENAME   126

Definition at line 322 of file dso.h.

#define DSO_F_DSO_CTRL   110

Definition at line 323 of file dso.h.

#define DSO_F_DSO_FREE   111

Definition at line 324 of file dso.h.

#define DSO_F_DSO_GET_FILENAME   127

Definition at line 325 of file dso.h.

#define DSO_F_DSO_GET_LOADED_FILENAME   128

Definition at line 326 of file dso.h.

#define DSO_F_DSO_LOAD   112

Definition at line 327 of file dso.h.

#define DSO_F_DSO_MERGE   132

Definition at line 328 of file dso.h.

#define DSO_F_DSO_NEW_METHOD   113

Definition at line 329 of file dso.h.

#define DSO_F_DSO_SET_FILENAME   129

Definition at line 330 of file dso.h.

#define DSO_F_DSO_SET_NAME_CONVERTER   122

Definition at line 331 of file dso.h.

#define DSO_F_DSO_UP_REF   114

Definition at line 332 of file dso.h.

#define DSO_F_VMS_BIND_SYM   115

Definition at line 333 of file dso.h.

#define DSO_F_VMS_LOAD   116

Definition at line 334 of file dso.h.

#define DSO_F_VMS_MERGER   133

Definition at line 335 of file dso.h.

#define DSO_F_VMS_UNLOAD   117

Definition at line 336 of file dso.h.

#define DSO_F_WIN32_BIND_FUNC   118

Definition at line 337 of file dso.h.

#define DSO_F_WIN32_BIND_VAR   119

Definition at line 338 of file dso.h.

#define DSO_F_WIN32_JOINER   135

Definition at line 339 of file dso.h.

#define DSO_F_WIN32_LOAD   120

Definition at line 340 of file dso.h.

#define DSO_F_WIN32_MERGER   134

Definition at line 341 of file dso.h.

#define DSO_F_WIN32_NAME_CONVERTER   125

Definition at line 342 of file dso.h.

#define DSO_F_WIN32_SPLITTER   136

Definition at line 343 of file dso.h.

#define DSO_F_WIN32_UNLOAD   121

Definition at line 344 of file dso.h.

#define DSO_FLAG_GLOBAL_SYMBOLS   0x20

Definition at line 103 of file dso.h.

#define DSO_FLAG_NAME_TRANSLATION_EXT_ONLY   0x02

Definition at line 91 of file dso.h.

#define DSO_FLAG_NO_NAME_TRANSLATION   0x01

Definition at line 84 of file dso.h.

#define DSO_FLAG_UPCASE_SYMBOL   0x10

Definition at line 96 of file dso.h.

#define DSO_R_CTRL_FAILED   100

Definition at line 347 of file dso.h.

#define DSO_R_DSO_ALREADY_LOADED   110

Definition at line 348 of file dso.h.

#define DSO_R_EMPTY_FILE_STRUCTURE   113

Definition at line 349 of file dso.h.

#define DSO_R_FAILURE   114

Definition at line 350 of file dso.h.

#define DSO_R_FILENAME_TOO_BIG   101

Definition at line 351 of file dso.h.

#define DSO_R_FINISH_FAILED   102

Definition at line 352 of file dso.h.

#define DSO_R_INCORRECT_FILE_SYNTAX   115

Definition at line 353 of file dso.h.

#define DSO_R_LOAD_FAILED   103

Definition at line 354 of file dso.h.

#define DSO_R_NAME_TRANSLATION_FAILED   109

Definition at line 355 of file dso.h.

#define DSO_R_NO_FILE_SPECIFICATION   116

Definition at line 357 of file dso.h.

#define DSO_R_NO_FILENAME   111

Definition at line 356 of file dso.h.

#define DSO_R_NULL_HANDLE   104

Definition at line 358 of file dso.h.

#define DSO_R_SET_FILENAME_FAILED   112

Definition at line 359 of file dso.h.

#define DSO_R_STACK_ERROR   105

Definition at line 360 of file dso.h.

#define DSO_R_SYM_FAILURE   106

Definition at line 361 of file dso.h.

#define DSO_R_UNLOAD_FAILED   107

Definition at line 362 of file dso.h.

#define DSO_R_UNSUPPORTED   108

Definition at line 363 of file dso.h.


Typedef Documentation

typedef struct dso_st DSO

Definition at line 108 of file dso.h.

typedef void(* DSO_FUNC_TYPE)(void)

Definition at line 106 of file dso.h.

typedef char*(* DSO_MERGER_FUNC)(DSO *, const char *, const char *)

Definition at line 132 of file dso.h.

typedef struct dso_meth_st DSO_METHOD

typedef char*(* DSO_NAME_CONVERTER_FUNC)(DSO *, const char *)

Definition at line 116 of file dso.h.


Function Documentation

DSO_FUNC_TYPE DSO_bind_func ( DSO dso,
const char *  symname 
)

void* DSO_bind_var ( DSO dso,
const char *  symname 
)

char* DSO_convert_filename ( DSO dso,
const char *  filename 
)

long DSO_ctrl ( DSO dso,
int  cmd,
long  larg,
void *  parg 
)

int DSO_flags ( DSO dso  ) 

int DSO_free ( DSO dso  ) 

DSO_METHOD* DSO_get_default_method ( void   ) 

const char* DSO_get_filename ( DSO dso  ) 

const char* DSO_get_loaded_filename ( DSO dso  ) 

DSO_METHOD* DSO_get_method ( DSO dso  ) 

DSO* DSO_load ( DSO dso,
const char *  filename,
DSO_METHOD meth,
int  flags 
)

char* DSO_merge ( DSO dso,
const char *  filespec1,
const char *  filespec2 
)

DSO_METHOD* DSO_METHOD_dl ( void   ) 

DSO_METHOD* DSO_METHOD_dlfcn ( void   ) 

DSO_METHOD* DSO_METHOD_null ( void   ) 

DSO_METHOD* DSO_METHOD_openssl ( void   ) 

DSO_METHOD* DSO_METHOD_vms ( void   ) 

DSO_METHOD* DSO_METHOD_win32 ( void   ) 

DSO* DSO_new ( void   ) 

DSO* DSO_new_method ( DSO_METHOD method  ) 

void DSO_set_default_method ( DSO_METHOD meth  ) 

int DSO_set_filename ( DSO dso,
const char *  filename 
)

DSO_METHOD* DSO_set_method ( DSO dso,
DSO_METHOD meth 
)

int DSO_set_name_converter ( DSO dso,
DSO_NAME_CONVERTER_FUNC  cb,
DSO_NAME_CONVERTER_FUNC oldcb 
)

int DSO_up_ref ( DSO dso  ) 

void ERR_load_DSO_strings ( void   ) 


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