aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-01-03 12:58:52 +0100
committerLuca Deri <deri@ntop.org>2023-01-03 12:58:52 +0100
commitcb15d2b328437f2a05d65cf4aaa5a9903cc42f53 (patch)
tree267ac793460ebccfb38d72363bdc786ce7081c75
parent2c551afbd7b2e14df6102724e426799b86b38964 (diff)
Added missing prototype
-rw-r--r--src/include/ndpi_main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h
index ce3439279..6662c0ca9 100644
--- a/src/include/ndpi_main.h
+++ b/src/include/ndpi_main.h
@@ -155,6 +155,8 @@ extern "C" {
void ndpi_set_risk(struct ndpi_detection_module_struct *ndpi_str,
struct ndpi_flow_struct *flow, ndpi_risk_enum r,
char *risk_message);
+ void ndpi_unset_risk(struct ndpi_detection_module_struct *ndpi_str,
+ struct ndpi_flow_struct *flow, ndpi_risk_enum r);
int ndpi_isset_risk(struct ndpi_detection_module_struct *ndpi_str,
struct ndpi_flow_struct *flow, ndpi_risk_enum r);
int ndpi_is_printable_buffer(uint8_t const * const buf, size_t len);