[#OSSL_trace_enabled]
= OSSL&lowbar;trace&lowbar;enabled
:mrdocs:

Test whether a trace channel is currently attached for `category&period;`

== Synopsis

Declared in `&lt;openssl&sol;trace&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;trace&lowbar;enabled(int category);
----

== Return Value

1 if tracing is enabled for `category,` or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *category*
| OSSL&lowbar;TRACE&lowbar;CATEGORY&lowbar;&ast; value to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
