Hex‐dump len bytes at s with leading indent, via callback output.

Synopsis

Declared in <openssl/bio.h>

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

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.

indent

Number of spaces to prefix each dump line.

Created with MrDocs