BIO_get_ex_data

Retrieve application data previously stored on a BIO with BIO_set_ex_data().

Synopsis

Declared in <openssl/bio.h>

void*
BIO_get_ex_data(
    BIO const* bio,
    int idx);

Return Value

Stored pointer, or NULL if unset.

Parameters

NameDescription
bioBIO to query.
idxEx-data index from BIO_get_ex_new_index() or a class-specific allocator.