Enable tracing for category by sending output to callback.
Synopsis
Declared in <openssl/trace.h>
int
OSSL_trace_set_callback(
int category,
OSSL_trace_cb callback,
void* data);
Description
Mutually exclusive with OSSL_trace_set_channel() for the same category.
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
category |
OSSL_TRACE_CATEGORY_* value selecting the channel. |
callback |
Trace callback, or NULL to disable tracing for |
data |
User pointer passed to |
Created with MrDocs