diff options
author | lns <matzeton@googlemail.com> | 2023-09-24 22:50:22 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-09-24 22:50:22 +0200 |
commit | 7fde1db6a4b00696c433de8498e88e3928d6d757 (patch) | |
tree | 9010a0326b2f5c2edf975a3c974160c30a123231 /src/include/ndpi_utils.h | |
parent | 725fcf4852f06e2f54469c2439d13169d5d68d09 (diff) |
Added printf/fprintf replacement for some internal modules.improved/logging_callback_ndpi_printf
* logging is instead redirected to `ndpi_debug_printf`
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/include/ndpi_utils.h')
-rw-r--r-- | src/include/ndpi_utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/ndpi_utils.h b/src/include/ndpi_utils.h index 492b46a47..288cd7a94 100644 --- a/src/include/ndpi_utils.h +++ b/src/include/ndpi_utils.h @@ -25,9 +25,14 @@ #define __NDPI_UTILS_H__ #include "ndpi_define.h" +#ifndef NDPI_CFFI_PREPROCESSING +#include "ndpi_includes.h" +#endif #ifndef NDPI_CFFI_PREPROCESSING -extern u_int8_t ndpi_ends_with(char *str, char *ends); +struct ndpi_detection_module_struct; +extern u_int8_t ndpi_ends_with(struct ndpi_detection_module_struct *ndpi_struct, + char *str, char *ends); #endif // NDPI_CFFI_PREPROCESSING /* **************************************** */ |