From beef4f997bccc90c545abdf8d387bab600b4af8f Mon Sep 17 00:00:00 2001 From: aouinizied Date: Tue, 22 Mar 2022 13:19:27 +0100 Subject: Complete rework of nDPI Python bindings (cffi API, automatic generation, packaging and CI integration) --- src/include/ndpi_utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/ndpi_utils.h') diff --git a/src/include/ndpi_utils.h b/src/include/ndpi_utils.h index 6ba83b4da..d6596ae1f 100644 --- a/src/include/ndpi_utils.h +++ b/src/include/ndpi_utils.h @@ -12,12 +12,13 @@ // #define NDPI_ENABLE_DEBUG_INFO_MESSAGES // #define NDPI_ENABLE_DEBUG_TRACE_MESSAGES +#ifndef NDPI_CFFI_PREPROCESSING extern void printRawData(const uint8_t *ptr, size_t len); //extern uint8_t add_segment_to_buffer( struct ndpi_flow_struct *flow, struct ndpi_tcphdr const * tcph, uint32_t waited); //extern uint8_t check_for_sequence( struct ndpi_flow_struct *flow, struct ndpi_tcphdr const * tcph); extern u_int8_t ndpi_ends_with(char *str, char *ends); - +#endif // NDPI_CFFI_PREPROCESSING /* **************************************** */ /* Can't call libc functions from kernel space, define some stub instead */ -- cgit v1.2.3