logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OSSL_trace_get_category_num, OSSL_trace_get_category_name - OpenSSL tracing information functions

Description

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".

History

       The OpenSSL Tracing API was added ino OpenSSL 3.0.

Name

       OSSL_trace_get_category_num, OSSL_trace_get_category_name - OpenSSL tracing information functions

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.

Synopsis

        #include <openssl/trace.h>

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

See Also