diff options
author | Luca Deri <deri@ntop.org> | 2019-06-30 11:59:51 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-06-30 11:59:51 +0200 |
commit | a1ac31062df98a651f2d6fee8bd3fe66e7734f6a (patch) | |
tree | a17c500cdcbca85be932ba7d1398b7f00ec8c6c3 /src/include/ndpi_api.h | |
parent | 06b05e21c627f87fc4bc16830099f30cc7df860b (diff) |
Added ndpi_has_human_readeable_string for detecting human-readeable strings in buffers
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |