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

Name

Description

category

OSSL_TRACE_CATEGORY_* value selecting the channel.

prefix

Prefix string, or NULL to clear any existing prefix.

Created with MrDocs