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

Name

Description

b

BIO to control.

cmd

Control command (for example BIO_CTRL_SET_CALLBACK).

fp

Callback function pointer passed as the ctrl argument.

Created with MrDocs