Initialise ad for object obj of CRYPTO_EX_INDEX class class_index.
Declared in <openssl/crypto.h>
int
CRYPTO_new_ex_data(
int class_index,
void* obj,
CRYPTO_EX_DATA* ad);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| class_index | CRYPTO_EX_INDEX_* identifying the owning object type. |
| obj | Owning object pointer passed to new-index callbacks. |
| ad | Ex-data structure embedded in (or associated with) obj. |