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

Name

Description

bp

BIO to control.

cmd

Control command that yields a pointer (for example BIO_C_GET_BUF_MEM).

larg

Long argument passed through to BIO_ctrl().

Created with MrDocs