CRYPTO_EX_new

Callback invoked when a new ex_data slot is first associated with an object.

Synopsis

Declared in <openssl/crypto.h>

typedef void CRYPTO_EX_new(void*, void*, CRYPTO_EX_DATA*, int, long, void*);

Parameters

NameDescription
parentObject that owns the CRYPTO_EX_DATA.
ptrPointer value being stored (often NULL on allocation).
adEx-data bag for parent.
idxEx-data index being initialized.
arglLong argument registered with CRYPTO_get_ex_new_index().
argpPointer argument registered with CRYPTO_get_ex_new_index().