BIO_ptr_ctrl

Invoke a BIO ctrl that returns a pointer result.

Synopsis

Declared in <openssl/bio.h>

void*
BIO_ptr_ctrl(
    BIO* bp,
    int cmd,
    long larg);

Return Value

Pointer returned by the ctrl implementation, or NULL.

Parameters

NameDescription
bpBIO to control.
cmdControl command that yields a pointer (for example BIO_C_GET_BUF_MEM).
largLong argument passed through to BIO_ctrl().