aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-10-08 11:36:11 +0200
committerLuca Deri <deri@ntop.org>2019-10-08 11:36:11 +0200
commit256858d2e5d9db3777ccb113ed75bcd836fc8d16 (patch)
treedd21dffc7510f2fe4989676732511bbb911230f2 /src/include/ndpi_api.h
parent10873bfe3564b52561f692400ad51fc9923e0b14 (diff)
parente939f1c1d1bfa744d430e64305010bf918c5dfbe (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 25318c9cd..e5c52610e 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -745,9 +745,9 @@ extern "C" {
int ndpi_match_string(void *_automa, char *string_to_match);
void ndpi_load_ip_category(struct ndpi_detection_module_struct *ndpi_struct,
- char *ip_address_and_mask, ndpi_protocol_category_t category);
+ const char *ip_address_and_mask, ndpi_protocol_category_t category);
int ndpi_load_hostname_category(struct ndpi_detection_module_struct *ndpi_struct,
- char *name, ndpi_protocol_category_t category);
+ const char *name_to_add, ndpi_protocol_category_t category);
int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_struct);
int ndpi_fill_ip_protocol_category(struct ndpi_detection_module_struct *ndpi_struct,
u_int32_t saddr,