BIO_debug_callback

Default legacy BIO debug logger writing to the BIO's callback-argument BIO (deprecated).

Synopsis

Declared in <openssl/bio.h>

[[deprecated]]
long
BIO_debug_callback(
    BIO* bio,
    int cmd,
    char const* argp,
    int argi,
    long argl,
    long ret);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

ret unchanged (pass-through debug callback).

Parameters

NameDescription
bioBIO whose operation is being reported.
cmdBIO_CB_* operation code (read, write, ctrl, …).
argpPointer argument for the operation (buffer or ctrl pointer), or NULL.
argiInteger argument for ctrl-style operations.
arglLong argument for ctrl-style operations.
retReturn value being reported for the operation.