diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-07-09 17:27:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 17:27:53 +0200 |
commit | 9d8967236e4e221aa01f7c97eb19303ac8a98474 (patch) | |
tree | a0923a55c2ce0d2d58ad49a6f747717818aa94a5 /example/reader_util.h | |
parent | 6511db89413f101d3efafa073b44ad8392181bfa (diff) | |
parent | 24fea66a26dcf621b0669b3e2315d694f3a2bf20 (diff) |
Merge pull request #957 from lnslbrty/fix/build
Fix/build
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 5 |
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); |