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

Name

Description

b

BIO performing the operation.

oper

BIO_CB_* operation code OR'd with BIO_CB_RETURN after the call.

argp

Pointer argument (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 from the underlying operation (post‐call only).

processed

Optional in/out processed‐byte count for read/write/mmsg operations.

Created with MrDocs