BIO_set_data

Store an implementation-specific pointer on a BIO (used by custom BIO methods).

Synopsis

Declared in <openssl/bio.h>

void
BIO_set_data(
    BIO* a,
    void* ptr);

Parameters

NameDescription
aBIO whose app-data pointer is set.
ptrOpaque pointer for the BIO method implementation.