From 15ec013af8e6fd48c211e0ea14bf27739c9c4211 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 11 Nov 2019 23:52:24 +0100 Subject: Added ndpi_load_ipv4_ptree() API call --- src/include/ndpi_api.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 14de814f6..088837f98 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -842,7 +842,9 @@ extern "C" { void ndpi_user_pwd_payload_copy(u_int8_t *dest, u_int dest_len, u_int offset, const u_int8_t *src, u_int src_len); u_char* ndpi_base64_decode(const u_char *src, size_t len, size_t *out_len); - + int ndpi_load_ipv4_ptree(struct ndpi_detection_module_struct *ndpi_str, + const char *path, u_int16_t protocol_id); + int ndpi_flow2json(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, u_int8_t ip_version, -- cgit v1.2.3