Begin a locked trace output group for category and return its BIO channel.

Synopsis

Declared in <openssl/trace.h>

BIO*
OSSL_trace_begin(int category);

Description

Pair with OSSL_trace_end() using the same category and returned BIO.

Return Value

Trace BIO to write to, or NULL if tracing is disabled for category.

Parameters

Name

Description

category

OSSL_TRACE_CATEGORY_* value selecting the channel.

Created with MrDocs