From c8d6dd0821fda2cbceae25abf9ee9c4db992b100 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 21 Apr 2023 11:27:20 +0200 Subject: Improved debug output. * try to get rid of some `printf(..)`s as they do not belong to a shared library * replaced all `exit(..)`s with `abort()`s to indicate an abnormal process termination Signed-off-by: Toni Uhlig --- src/include/ndpi_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/ndpi_api.h') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 16dc2014d..70d9021d2 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -974,6 +974,7 @@ extern "C" { u_int16_t user_proto_id); u_int16_t ndpi_map_ndpi_id_to_user_proto_id(struct ndpi_detection_module_struct *ndpi_str, u_int16_t ndpi_proto_id); + void ndpi_self_check_host_match(FILE *error_out); /* Tells to called on what l4 protocol given application protocol can be found */ ndpi_l4_proto_info ndpi_get_l4_proto_info(struct ndpi_detection_module_struct *ndpi_struct, u_int16_t ndpi_proto_id); -- cgit v1.2.3