diff options
author | aouinizied <aouinizied@gmail.com> | 2022-03-22 13:19:27 +0100 |
---|---|---|
committer | aouinizied <aouinizied@gmail.com> | 2022-03-22 13:19:27 +0100 |
commit | beef4f997bccc90c545abdf8d387bab600b4af8f (patch) | |
tree | 71a608cc34d1b727f2e408033e3d04f480399eb9 /src/include/ndpi_utils.h | |
parent | 93f723d50f789530ca09dd9c5104e629824e30f4 (diff) |
Complete rework of nDPI Python bindings (cffi API, automatic generation, packaging and CI integration)
Diffstat (limited to 'src/include/ndpi_utils.h')
-rw-r--r-- | src/include/ndpi_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |