diff options
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/reader_util.h b/example/reader_util.h index 4623be378..408a14ec4 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -383,6 +383,7 @@ typedef struct ndpi_workflow { /* allocated by prefs */ void **ndpi_flows_root; struct ndpi_detection_module_struct *ndpi_struct; + struct ndpi_global_context *g_ctx; u_int32_t num_allocated_flows; /* CSV,TLV,JSON serialization interface */ @@ -391,7 +392,7 @@ typedef struct ndpi_workflow { /* TODO: remove wrappers parameters and use ndpi global, when their initialization will be fixed... */ -struct ndpi_workflow * ndpi_workflow_init(const struct ndpi_workflow_prefs * prefs, pcap_t * pcap_handle, int do_init_flows_root, ndpi_serialization_format serialization_format); +struct ndpi_workflow * ndpi_workflow_init(const struct ndpi_workflow_prefs * prefs, pcap_t * pcap_handle, int do_init_flows_root, ndpi_serialization_format serialization_format, struct ndpi_global_context *g_ctx); /* workflow main free function */ |