OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions
ex_data.c File Reference
#include "cryptlib.h"
#include <openssl/lhash.h>

Go to the source code of this file.

Classes

struct  st_CRYPTO_EX_DATA_IMPL
 
struct  st_ex_class_item
 

Macros

#define EX_IMPL(a)   impl->cb_##a
 
#define IMPL_CHECK   if(!impl) impl_check();
 
#define EX_DATA_CHECK(iffail)   if(!ex_data && !ex_data_check()) {iffail}
 

Typedefs

typedef struct st_ex_class_item EX_CLASS_ITEM
 

Functions

const CRYPTO_EX_DATA_IMPLCRYPTO_get_ex_data_implementation (void)
 
int CRYPTO_set_ex_data_implementation (const CRYPTO_EX_DATA_IMPL *i)
 
 DECLARE_LHASH_OF (EX_CLASS_ITEM)
 
int CRYPTO_ex_data_new_class (void)
 
void CRYPTO_cleanup_all_ex_data (void)
 
int CRYPTO_get_ex_new_index (int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
 
int CRYPTO_new_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
 
int CRYPTO_dup_ex_data (int class_index, CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from)
 
void CRYPTO_free_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
 
int CRYPTO_set_ex_data (CRYPTO_EX_DATA *ad, int idx, void *val)
 
voidCRYPTO_get_ex_data (const CRYPTO_EX_DATA *ad, int idx)
 

Macro Definition Documentation

#define EX_DATA_CHECK (   iffail)    if(!ex_data && !ex_data_check()) {iffail}

Definition at line 279 of file ex_data.c.

#define EX_IMPL (   a)    impl->cb_##a

Definition at line 175 of file ex_data.c.

#define IMPL_CHECK   if(!impl) impl_check();

Definition at line 210 of file ex_data.c.

Typedef Documentation

Function Documentation

void CRYPTO_cleanup_all_ex_data ( void  )

Definition at line 551 of file ex_data.c.

int CRYPTO_dup_ex_data ( int  class_index,
CRYPTO_EX_DATA to,
CRYPTO_EX_DATA from 
)

Definition at line 580 of file ex_data.c.

int CRYPTO_ex_data_new_class ( void  )

Definition at line 541 of file ex_data.c.

void CRYPTO_free_ex_data ( int  class_index,
void obj,
CRYPTO_EX_DATA ad 
)

Definition at line 589 of file ex_data.c.

void* CRYPTO_get_ex_data ( const CRYPTO_EX_DATA ad,
int  idx 
)

Definition at line 626 of file ex_data.c.

const CRYPTO_EX_DATA_IMPL* CRYPTO_get_ex_data_implementation ( void  )

Definition at line 213 of file ex_data.c.

int CRYPTO_get_ex_new_index ( int  class_index,
long  argl,
void argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func 
)

Definition at line 558 of file ex_data.c.

int CRYPTO_new_ex_data ( int  class_index,
void obj,
CRYPTO_EX_DATA ad 
)

Definition at line 572 of file ex_data.c.

int CRYPTO_set_ex_data ( CRYPTO_EX_DATA ad,
int  idx,
void val 
)

Definition at line 597 of file ex_data.c.

int CRYPTO_set_ex_data_implementation ( const CRYPTO_EX_DATA_IMPL i)

Definition at line 218 of file ex_data.c.

DECLARE_LHASH_OF ( EX_CLASS_ITEM  )