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

Name

Description

cb

Callback receiving dump text; return <=0 to abort.

u

Opaque user pointer forwarded to cb.

s

Bytes to dump.

len

Number of bytes at s.

Created with MrDocs