1OSSL_TRACE_GET_CATEGORY_NUM(3ossl)  OpenSSL OSSL_TRACE_GET_CATEGORY_NUM(3ossl)
2
3
4

NAME

6       OSSL_trace_get_category_num, OSSL_trace_get_category_name - OpenSSL
7       tracing information functions
8

SYNOPSIS

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

DESCRIPTION

16       OSSL_trace_get_category_num() gives the category number corresponding
17       to the given "name".
18
19       OSSL_trace_get_category_name() gives the category name corresponding to
20       the given "num".
21

RETURN VALUES

23       OSSL_trace_get_category_num() returns the category number if the given
24       "name" is a recognised category name, otherwise -1.
25
26       OSSL_trace_get_category_name() returns the category name if the given
27       "num" is a recognised category number, otherwise NULL.
28

HISTORY

30       The OpenSSL Tracing API was added ino OpenSSL 3.0.
31
33       Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
34
35       Licensed under the Apache License 2.0 (the "License").  You may not use
36       this file except in compliance with the License.  You can obtain a copy
37       in the file LICENSE in the source distribution or at
38       <https://www.openssl.org/source/license.html>.
39
40
41
423.0.5                             2022-07-05OSSL_TRACE_GET_CATEGORY_NUM(3ossl)
Impressum