Your company here — click to reach over 10,000 unique daily visitors

OSSL_trace_get_category_num.3ossl - Man Page

OpenSSL tracing information functions


 #include <openssl/trace.h>

 int OSSL_trace_get_category_num(const char *name);
 const char *OSSL_trace_get_category_name(int num);


OSSL_trace_get_category_num() gives the category number corresponding to the given name.

OSSL_trace_get_category_name() gives the category name corresponding to the given num.

Return Values

OSSL_trace_get_category_num() returns the category number if the given name is a recognised category name, otherwise -1.

OSSL_trace_get_category_name() returns the category name if the given num is a recognised category number, otherwise NULL.


The OpenSSL Tracing API was added ino OpenSSL 3.0.

Referenced By

The man page OSSL_trace_get_category_name.3ossl(3) is an alias of OSSL_trace_get_category_num.3ossl(3).

2024-06-06 3.2.2 OpenSSL