aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-07-08 23:21:35 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-07-08 23:21:35 +0200
commit20fed83e0f648309d259a367f9e7959a665d292b (patch)
tree34b488b43481e30483872ec3fc1882d4ab61ff09 /example/reader_util.h
parentf72b402aa2c5e532caba8452056c17a3d08e5a31 (diff)
Removed csv_fp as external symbol. Instead passing csv_fp through as argument.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 75d66bfd4..d4e3dc74f 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -308,7 +308,8 @@ void ndpi_free_flow_info_half(struct ndpi_flow_info *flow);
/* Process a packet and update the workflow */
struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow,
const struct pcap_pkthdr *header,
- const u_char *packet);
+ const u_char *packet,
+ FILE * csv_fp);
/* flow callbacks for complete detected flow
@@ -327,7 +328,7 @@ static inline void ndpi_workflow_set_flow_giveup_callback(struct ndpi_workflow *
/* compare two nodes in workflow */
int ndpi_workflow_node_cmp(const void *a, const void *b);
-void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_flow_info *flow);
+void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_flow_info *flow, FILE * csv_fp);
u_int32_t ethernet_crc32(const void* data, size_t n_bytes);
void ndpi_flow_info_free_data(struct ndpi_flow_info *flow);
void ndpi_flow_info_freer(void *node);