Initialise ad for object obj of CRYPTO_EX_INDEX class class_index.

Synopsis

Declared in <openssl/crypto.h>

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

Return Value

1 on success, or 0 on error.

Parameters

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.

Created with MrDocs