Add function to search host in custom categories

This commit is contained in:
emanuele-f
2018-10-10 13:29:49 +02:00
parent 6ff6c2e5af
commit cdf197ccfe
2 changed files with 38 additions and 0 deletions
+2
View File
@@ -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);