BIO_callback_fn

Legacy BIO callback invoked immediately before and after I/O operations (deprecated).

Synopsis

Declared in <openssl/bio.h>

typedef long(* BIO_callback_fn)(BIO*, int, char const*, int, long, long);

Return Value

Post-call return value (usually ret unchanged).

Parameters

NameDescription
bBIO performing the operation.
operBIO_CB_* operation code OR'd with BIO_CB_RETURN after the call.
argpPointer argument (buffer or ctrl pointer), or NULL.
argiInteger argument for ctrl-style operations.
arglLong argument for ctrl-style operations.
retReturn value from the underlying operation (post-call only).