OSSL_trace_set_prefix

Set the text printed before each trace group for category.

Synopsis

Declared in <openssl/trace.h>

int
OSSL_trace_set_prefix(
    int category,
    char const* prefix);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
categoryOSSL_TRACE_CATEGORY_* value selecting the channel.
prefixPrefix string, or NULL to clear any existing prefix.