BIO_dump_cb

Hex-dump len bytes at s by invoking cb for each formatted chunk.

Synopsis

Declared in <openssl/bio.h>

int
BIO_dump_cb(
    int(* cb)(void const*, size_t, void*),
    void* u,
    void const* s,
    int len);

Return Value

1 on success, or 0 on error / callback abort.

Parameters

NameDescription
cbCallback receiving dump text; return <=0 to abort.
uOpaque user pointer forwarded to cb.
sBytes to dump.
lenNumber of bytes at s.