From 2390c573aa598b715eb592c9b4da50a71453347a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 11 Dec 2018 23:58:29 +0100 Subject: Add generic trace API The idea is that the application shall be able to register output channels or callbacks to print tracing output as it sees fit. OpenSSL internals, on the other hand, want to print thoses texts using normal printing routines, such as BIO_printf() or BIO_dump() through well defined BIOs. When the application registers callbacks, the tracing functionality sets up an internal BIO that simply forwards received text to the appropriate application provided callback. Co-authored-by: Dr. Matthias St. Pierre Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/8198) --- util/libcrypto.num | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'util/libcrypto.num') diff --git a/util/libcrypto.num b/util/libcrypto.num index 9957cf80f6..cb0cb2279b 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4646,3 +4646,12 @@ OPENSSL_CTX_free 4601 3_0_0 EXIST::FUNCTION: OPENSSL_LH_flush 4602 3_0_0 EXIST::FUNCTION: BN_native2bn 4603 3_0_0 EXIST::FUNCTION: BN_bn2nativepad 4604 3_0_0 EXIST::FUNCTION: +OSSL_trace_get_category_num 4605 3_0_0 EXIST::FUNCTION: +OSSL_trace_get_category_name 4606 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_channel 4607 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_prefix 4608 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_suffix 4609 3_0_0 EXIST::FUNCTION: +OSSL_trace_set_callback 4610 3_0_0 EXIST::FUNCTION: +OSSL_trace_enabled 4611 3_0_0 EXIST::FUNCTION: +OSSL_trace_begin 4612 3_0_0 EXIST::FUNCTION: +OSSL_trace_end 4613 3_0_0 EXIST::FUNCTION: -- cgit v1.2.3