OSSL_trace_get_category_num(3ssl)

OSSL_trace_get_category_num3ssl

Openssl tracing information functions

Usage

 #include <openssl/trace.h>
 int OSSL_trace_get_category_num(const char *name);
 const char *OSSL_trace_get_category_name(int num);

Overview

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.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

History

The OpenSSL Tracing API was added ino OpenSSL 3.0.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.