BIO_callback_fn_ex

Extended BIO callback invoked immediately before and after I/O operations.

Synopsis

Declared in <openssl/bio.h>

typedef long(* BIO_callback_fn_ex)(BIO*, int, char const*, size_t, int, long, int, size_t*);

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.
lenByte count associated with the operation when applicable.
argiInteger argument for ctrl-style operations.
arglLong argument for ctrl-style operations.
retReturn value from the underlying operation (post-call only).
processedOptional in/out processed-byte count for read/write/mmsg operations.