Default BIO info callback that logs operations to the BIO's callback argument BIO.

Synopsis

Declared in <openssl/bio.h>

long
BIO_debug_callback_ex(
    BIO* bio,
    int oper,
    char const* argp,
    size_t len,
    int argi,
    long argl,
    int ret,
    size_t* processed);

Return Value

ret unchanged (pass‐through debug callback).

Parameters

Name

Description

bio

BIO whose operation is being reported.

oper

BIO_CB_* operation code (read, write, ctrl, …).

argp

Pointer argument for the operation (buffer or ctrl pointer), or NULL.

len

Byte count associated with the operation when applicable.

argi

Integer argument for ctrl‐style operations.

argl

Long argument for ctrl‐style operations.

ret

Return value being reported for the operation.

processed

Optional in/out processed‐byte count for extended callbacks.

Created with MrDocs