mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Add a QUERY trace category
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25630)
This commit is contained in:
parent
11539fd734
commit
3eed43f8a1
@ -141,6 +141,7 @@ static const struct trace_category_st
|
|||||||
TRACE_CATEGORY_(REF_COUNT),
|
TRACE_CATEGORY_(REF_COUNT),
|
||||||
TRACE_CATEGORY_(HTTP),
|
TRACE_CATEGORY_(HTTP),
|
||||||
TRACE_CATEGORY_(PROVIDER),
|
TRACE_CATEGORY_(PROVIDER),
|
||||||
|
TRACE_CATEGORY_(QUERY),
|
||||||
}; /* KEEP THIS LIST IN SYNC with #define OSSL_TRACE_CATEGORY_... in trace.h */
|
}; /* KEEP THIS LIST IN SYNC with #define OSSL_TRACE_CATEGORY_... in trace.h */
|
||||||
|
|
||||||
const char *OSSL_trace_get_category_name(int num)
|
const char *OSSL_trace_get_category_name(int num)
|
||||||
|
@ -57,9 +57,10 @@ extern "C" {
|
|||||||
# define OSSL_TRACE_CATEGORY_REF_COUNT 17
|
# define OSSL_TRACE_CATEGORY_REF_COUNT 17
|
||||||
# define OSSL_TRACE_CATEGORY_HTTP 18
|
# define OSSL_TRACE_CATEGORY_HTTP 18
|
||||||
# define OSSL_TRACE_CATEGORY_PROVIDER 19
|
# define OSSL_TRACE_CATEGORY_PROVIDER 19
|
||||||
|
# define OSSL_TRACE_CATEGORY_QUERY 20
|
||||||
|
|
||||||
/* Count of available categories. */
|
/* Count of available categories. */
|
||||||
# define OSSL_TRACE_CATEGORY_NUM 20
|
# define OSSL_TRACE_CATEGORY_NUM 21
|
||||||
/* KEEP THIS LIST IN SYNC with trace_categories[] in crypto/trace.c */
|
/* KEEP THIS LIST IN SYNC with trace_categories[] in crypto/trace.c */
|
||||||
|
|
||||||
/* Returns the trace category number for the given |name| */
|
/* Returns the trace category number for the given |name| */
|
||||||
|
Loading…
Reference in New Issue
Block a user