BIO_callback_ctrl

Invoke a BIO ctrl that takes a BIO_info_cb callback pointer.

Synopsis

Declared in <openssl/bio.h>

long
BIO_callback_ctrl(
    BIO* b,
    int cmd,
    BIO_info_cb* fp);

Return Value

Command-specific long result, or <=0 on error depending on cmd.

Parameters

NameDescription
bBIO to control.
cmdControl command (for example BIO_CTRL_SET_CALLBACK).
fpCallback function pointer passed as the ctrl argument.