aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorGuido Falsi <mad@madpilot.net>2018-08-27 17:23:53 +0200
committerGuido Falsi <mad@madpilot.net>2018-08-27 17:45:38 +0200
commit396e72f4fe79f9579f36a0ec963e12c29fddb0d1 (patch)
tree8046824c18d317e2fc6b2c3b3332e66c71245d7d /src/lib/ndpi_main.c
parenta98c0a81be86936e96be7d2312ae11ef85b785b2 (diff)
Move the configure include file inclusion and code depending on it in code protected by the NDPI_LIB_COMPILATION define, this should avoid it polluting the environment when including this file from ntopng.
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 2a51316fa..b8e22abe6 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -49,17 +49,6 @@
#ifdef HAVE_HYPERSCAN
#include <hs/hs.h>
-
-struct hs_list {
- char *expression;
- unsigned int id;
- struct hs_list *next;
-};
-
-struct hs {
- hs_database_t *database;
- hs_scratch_t *scratch;
-};
#endif
#define NDPI_CONST_GENERIC_PROTOCOL_NAME "GenericProtocol"