blob: 5ab05a3a5cdfa887df794c224741eb8eac7bf677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
=pod
=head1 NAME
OSSL_trace_get_category_num, OSSL_trace_get_category_name
- OpenSSL tracing information functions
=head1 SYNOPSIS
#include <openssl/trace.h>
int OSSL_trace_get_category_num(const char *name);
const char *OSSL_trace_get_category_name(int num);
=head1 DESCRIPTION
OSSL_trace_get_category_num() gives the category number corresponding
to the given C<name>.
OSSL_trace_get_category_name() gives the category name corresponding
to the given C<num>.
=head1 RETURN VALUES
OSSL_trace_get_category_num() returns the category number if the given
C<name> is a recognised category name, otherwise -1.
OSSL_trace_get_category_name() returns the category name if the given
C<num> is a recognised category number, otherwise NULL.
=head1 HISTORY
The OpenSSL Tracing API was added ino OpenSSL 3.0.
=head1 COPYRIGHT
Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.
=cut
|