BIO_debug_callback_ex

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

NameDescription
bioBIO whose operation is being reported.
operBIO_CB_* operation code (read, write, ctrl, …).
argpPointer argument for the operation (buffer or ctrl pointer), or NULL.
lenByte count associated with the operation when applicable.
argiInteger argument for ctrl-style operations.
arglLong argument for ctrl-style operations.
retReturn value being reported for the operation.
processedOptional in/out processed-byte count for extended callbacks.