[#OSSL_trace_get_category_num]
= OSSL&lowbar;trace&lowbar;get&lowbar;category&lowbar;num
:mrdocs:

Map a trace category name to its OSSL&lowbar;TRACE&lowbar;CATEGORY&lowbar;&ast; number&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;trace&lowbar;get&lowbar;category&lowbar;num(char const* name);
----

== Return Value

Category number, or &hyphen;1 if `name` is unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| Category name such as &quot;TRACE&quot;, &quot;TLS&quot;, or &quot;ALL&quot;&period;
|===


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