From a1ac31062df98a651f2d6fee8bd3fe66e7734f6a Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 30 Jun 2019 11:59:51 +0200 Subject: Added ndpi_has_human_readeable_string for detecting human-readeable strings in buffers --- src/include/ndpi_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index a0a3c92af..06444ed39 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -811,7 +811,8 @@ extern "C" { const char* ndpi_cipher2str(u_int32_t cipher); u_int16_t ndpi_guess_host_protocol_id(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow); - + int ndpi_has_human_readeable_string(struct ndpi_detection_module_struct *ndpi_struct, + char *buffer, u_int buffer_size); #ifdef __cplusplus } #endif -- cgit v1.2.3