[#OSSL_trace_set_channel] = OSSL_trace_set_channel :mrdocs: Attach a BIO as the simple trace channel for `category` (ownership transfers on success). == Synopsis Declared in `<openssl/trace.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_trace_set_channel( int category, xref:BIO.adoc[BIO]* channel); ---- == Description Mutually exclusive with OSSL_trace_set_callback() for the same category. == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *category* | OSSL_TRACE_CATEGORY_* value selecting the channel. | *channel* | Sink BIO for trace output, or NULL to disable tracing for `category.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#