OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions
dso.h File Reference
#include <openssl/crypto.h>

Go to the source code of this file.

Classes

struct  dso_meth_st
 
struct  dso_st
 

Macros

#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_BEOS_BIND_FUNC   144
 
#define DSO_F_BEOS_BIND_VAR   145
 
#define DSO_F_BEOS_LOAD   146
 
#define DSO_F_BEOS_NAME_CONVERTER   147
 
#define DSO_F_BEOS_UNLOAD   148
 
#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_GLOBAL_LOOKUP   139
 
#define DSO_F_DSO_LOAD   112
 
#define DSO_F_DSO_MERGE   132
 
#define DSO_F_DSO_NEW_METHOD   113
 
#define DSO_F_DSO_PATHBYADDR   140
 
#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_GLOBAL_LOOKUP_FUNC   138
 
#define DSO_F_PATHBYADDR   137
 
#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_GLOBALLOOKUP   142
 
#define DSO_F_WIN32_GLOBALLOOKUP_FUNC   143
 
#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_PATHBYADDR   141
 
#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)
 
voidDSO_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)
 
int DSO_pathbyaddr (void *addr, char *path, int sz)
 
voidDSO_global_lookup (const char *name)
 
DSO_METHODDSO_METHOD_beos (void)
 
void ERR_load_DSO_strings (void)
 

Macro Definition 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_BEOS_BIND_FUNC   144

Definition at line 337 of file dso.h.

#define DSO_F_BEOS_BIND_VAR   145

Definition at line 338 of file dso.h.

#define DSO_F_BEOS_LOAD   146

Definition at line 339 of file dso.h.

#define DSO_F_BEOS_NAME_CONVERTER   147

Definition at line 340 of file dso.h.

#define DSO_F_BEOS_UNLOAD   148

Definition at line 341 of file dso.h.

#define DSO_F_DL_BIND_FUNC   104

Definition at line 348 of file dso.h.

#define DSO_F_DL_BIND_VAR   105

Definition at line 349 of file dso.h.

#define DSO_F_DL_LOAD   106

Definition at line 350 of file dso.h.

#define DSO_F_DL_MERGER   131

Definition at line 351 of file dso.h.

#define DSO_F_DL_NAME_CONVERTER   124

Definition at line 352 of file dso.h.

#define DSO_F_DL_UNLOAD   107

Definition at line 353 of file dso.h.

#define DSO_F_DLFCN_BIND_FUNC   100

Definition at line 342 of file dso.h.

#define DSO_F_DLFCN_BIND_VAR   101

Definition at line 343 of file dso.h.

#define DSO_F_DLFCN_LOAD   102

Definition at line 344 of file dso.h.

#define DSO_F_DLFCN_MERGER   130

Definition at line 345 of file dso.h.

#define DSO_F_DLFCN_NAME_CONVERTER   123

Definition at line 346 of file dso.h.

#define DSO_F_DLFCN_UNLOAD   103

Definition at line 347 of file dso.h.

#define DSO_F_DSO_BIND_FUNC   108

Definition at line 354 of file dso.h.

#define DSO_F_DSO_BIND_VAR   109

Definition at line 355 of file dso.h.

#define DSO_F_DSO_CONVERT_FILENAME   126

Definition at line 356 of file dso.h.

#define DSO_F_DSO_CTRL   110

Definition at line 357 of file dso.h.

#define DSO_F_DSO_FREE   111

Definition at line 358 of file dso.h.

#define DSO_F_DSO_GET_FILENAME   127

Definition at line 359 of file dso.h.

#define DSO_F_DSO_GET_LOADED_FILENAME   128

Definition at line 360 of file dso.h.

#define DSO_F_DSO_GLOBAL_LOOKUP   139

Definition at line 361 of file dso.h.

#define DSO_F_DSO_LOAD   112

Definition at line 362 of file dso.h.

#define DSO_F_DSO_MERGE   132

Definition at line 363 of file dso.h.

#define DSO_F_DSO_NEW_METHOD   113

Definition at line 364 of file dso.h.

#define DSO_F_DSO_PATHBYADDR   140

Definition at line 365 of file dso.h.

#define DSO_F_DSO_SET_FILENAME   129

Definition at line 366 of file dso.h.

#define DSO_F_DSO_SET_NAME_CONVERTER   122

Definition at line 367 of file dso.h.

#define DSO_F_DSO_UP_REF   114

Definition at line 368 of file dso.h.

#define DSO_F_GLOBAL_LOOKUP_FUNC   138

Definition at line 369 of file dso.h.

#define DSO_F_PATHBYADDR   137

Definition at line 370 of file dso.h.

#define DSO_F_VMS_BIND_SYM   115

Definition at line 371 of file dso.h.

#define DSO_F_VMS_LOAD   116

Definition at line 372 of file dso.h.

#define DSO_F_VMS_MERGER   133

Definition at line 373 of file dso.h.

#define DSO_F_VMS_UNLOAD   117

Definition at line 374 of file dso.h.

#define DSO_F_WIN32_BIND_FUNC   118

Definition at line 375 of file dso.h.

#define DSO_F_WIN32_BIND_VAR   119

Definition at line 376 of file dso.h.

#define DSO_F_WIN32_GLOBALLOOKUP   142

Definition at line 377 of file dso.h.

#define DSO_F_WIN32_GLOBALLOOKUP_FUNC   143

Definition at line 378 of file dso.h.

#define DSO_F_WIN32_JOINER   135

Definition at line 379 of file dso.h.

#define DSO_F_WIN32_LOAD   120

Definition at line 380 of file dso.h.

#define DSO_F_WIN32_MERGER   134

Definition at line 381 of file dso.h.

#define DSO_F_WIN32_NAME_CONVERTER   125

Definition at line 382 of file dso.h.

#define DSO_F_WIN32_PATHBYADDR   141

Definition at line 383 of file dso.h.

#define DSO_F_WIN32_SPLITTER   136

Definition at line 384 of file dso.h.

#define DSO_F_WIN32_UNLOAD   121

Definition at line 385 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 388 of file dso.h.

#define DSO_R_DSO_ALREADY_LOADED   110

Definition at line 389 of file dso.h.

#define DSO_R_EMPTY_FILE_STRUCTURE   113

Definition at line 390 of file dso.h.

#define DSO_R_FAILURE   114

Definition at line 391 of file dso.h.

#define DSO_R_FILENAME_TOO_BIG   101

Definition at line 392 of file dso.h.

#define DSO_R_FINISH_FAILED   102

Definition at line 393 of file dso.h.

#define DSO_R_INCORRECT_FILE_SYNTAX   115

Definition at line 394 of file dso.h.

#define DSO_R_LOAD_FAILED   103

Definition at line 395 of file dso.h.

#define DSO_R_NAME_TRANSLATION_FAILED   109

Definition at line 396 of file dso.h.

#define DSO_R_NO_FILE_SPECIFICATION   116

Definition at line 398 of file dso.h.

#define DSO_R_NO_FILENAME   111

Definition at line 397 of file dso.h.

#define DSO_R_NULL_HANDLE   104

Definition at line 399 of file dso.h.

#define DSO_R_SET_FILENAME_FAILED   112

Definition at line 400 of file dso.h.

#define DSO_R_STACK_ERROR   105

Definition at line 401 of file dso.h.

#define DSO_R_SYM_FAILURE   106

Definition at line 402 of file dso.h.

#define DSO_R_UNLOAD_FAILED   107

Definition at line 403 of file dso.h.

#define DSO_R_UNSUPPORTED   108

Definition at line 404 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 
)

Definition at line 278 of file dso_lib.c.

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

Definition at line 255 of file dso_lib.c.

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

Definition at line 413 of file dso_lib.c.

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

Definition at line 309 of file dso_lib.c.

int DSO_flags ( DSO dso)

Definition at line 176 of file dso_lib.c.

int DSO_free ( DSO dso)

Definition at line 131 of file dso_lib.c.

DSO_METHOD* DSO_get_default_method ( void  )

Definition at line 76 of file dso_lib.c.

const char* DSO_get_filename ( DSO dso)

Definition at line 355 of file dso_lib.c.

const char* DSO_get_loaded_filename ( DSO dso)

Definition at line 450 of file dso_lib.c.

DSO_METHOD* DSO_get_method ( DSO dso)

Definition at line 81 of file dso_lib.c.

void* DSO_global_lookup ( const char *  name)

Definition at line 473 of file dso_lib.c.

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

Definition at line 194 of file dso_lib.c.

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

Definition at line 393 of file dso_lib.c.

DSO_METHOD* DSO_METHOD_beos ( void  )

Definition at line 65 of file dso_beos.c.

DSO_METHOD* DSO_METHOD_dl ( void  )

Definition at line 64 of file dso_dl.c.

DSO_METHOD* DSO_METHOD_dlfcn ( void  )

Definition at line 74 of file dso_dlfcn.c.

DSO_METHOD* DSO_METHOD_null ( void  )

Definition at line 86 of file dso_null.c.

DSO_METHOD* DSO_METHOD_openssl ( void  )

Definition at line 65 of file dso_openssl.c.

DSO_METHOD* DSO_METHOD_vms ( void  )

Definition at line 86 of file dso_vms.c.

DSO_METHOD* DSO_METHOD_win32 ( void  )

Definition at line 65 of file dso_win32.c.

DSO* DSO_new ( void  )

Definition at line 66 of file dso_lib.c.

DSO* DSO_new_method ( DSO_METHOD method)

Definition at line 94 of file dso_lib.c.

int DSO_pathbyaddr ( void addr,
char *  path,
int  sz 
)

Definition at line 461 of file dso_lib.c.

void DSO_set_default_method ( DSO_METHOD meth)

Definition at line 71 of file dso_lib.c.

int DSO_set_filename ( DSO dso,
const char *  filename 
)

Definition at line 365 of file dso_lib.c.

DSO_METHOD* DSO_set_method ( DSO dso,
DSO_METHOD meth 
)

Definition at line 86 of file dso_lib.c.

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

Definition at line 340 of file dso_lib.c.

int DSO_up_ref ( DSO dso)

Definition at line 182 of file dso_lib.c.

void ERR_load_DSO_strings ( void  )

Definition at line 149 of file dso_err.c.