From 3b35cb37d9b12d3fe3386e9d3f60ab46076d3fbc Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:13:00 +0100 Subject: Keep separating public and private API (#2157) See: b08c787fe --- src/include/ndpi_typedefs.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/include/ndpi_typedefs.h') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 68e0365b4..3b29cb046 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -29,7 +29,6 @@ E * ndpi_typedefs.h #include "ndpi_includes.h" #endif #include "ndpi_protocol_ids.h" -#include "ndpi_utils.h" /* Used by both nDPI core and patricia code under third-party */ #include "ndpi_patricia_typedefs.h" @@ -235,11 +234,6 @@ typedef enum { ndpi_leaf } ndpi_VISIT; -/* NDPI_NODE */ -typedef struct node_t { - char *key; - struct node_t *left, *right; -} ndpi_node; /* NDPI_MASK_SIZE */ typedef u_int32_t ndpi_ndpi_mask; @@ -635,9 +629,6 @@ struct ndpi_flow_input_info { unsigned char seen_flow_beginning; }; -/* Save memory limiting the key to 56 bit */ -//#define SAVE_BINARY_BITMAP_MEMORY - PACK_ON struct ndpi_binary_bitmap_entry { #ifdef SAVE_BINARY_BITMAP_MEMORY @@ -1502,16 +1493,6 @@ typedef struct { int level; /* NDPI_PROTOCOL_DEFAULT_LEVEL (0) by default */ } ndpi_protocol_match; -typedef struct { - char *string_to_match; - ndpi_protocol_category_t protocol_category; -} ndpi_category_match; - -typedef struct { - char *string_to_match; - u_int16_t protocol_id; -} ndpi_tls_cert_name_match; - typedef struct { u_int32_t network; u_int8_t cidr; -- cgit v1.2.3