aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2018-10-10 13:29:49 +0200
committeremanuele-f <black.silver@hotmail.it>2018-10-10 13:29:49 +0200
commitcdf197ccfeedad29ceeca9b38a188dcdef6b7c06 (patch)
treee88d3e75f4ea89764b47ba644c8330c7206dd84a /src/include/ndpi_api.h
parent6ff6c2e5afc13bfaa2422910817a86cc167e2c5b (diff)
Add function to search host in custom categories
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 0409cb8c4..d1e9148b2 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -738,6 +738,8 @@ extern "C" {
void ndpi_fill_protocol_category(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow,
ndpi_protocol *ret);
+ int ndpi_get_custom_category_match(struct ndpi_detection_module_struct *ndpi_struct,
+ char *name_or_ip, unsigned long *id);
int ndpi_set_detection_preferences(struct ndpi_detection_module_struct *ndpi_mod,
ndpi_detection_preference pref,
int value);