diff options
author | Luca Deri <deri@ntop.org> | 2018-05-10 23:46:35 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2018-05-10 23:46:35 +0200 |
commit | 50216991bd41f0cdfea599a76ace08ebd00501d3 (patch) | |
tree | 6e7ba56f8f8b093f61577d2f61af5542748ecff9 /src/include/ndpi_api.h | |
parent | 3707553906027000fd189f93d131b68f8d886d54 (diff) |
Improved hyperscan support and category definition
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 2cf5d3436..9b75d7bd4 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -751,9 +751,9 @@ extern "C" { void ndpi_load_ip_category(struct ndpi_detection_module_struct *ndpi_struct, char *ip_address_and_mask, ndpi_protocol_category_t category); - void ndpi_load_hostname_category(struct ndpi_detection_module_struct *ndpi_struct, - char *name, ndpi_protocol_category_t category); - void ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_struct); + int ndpi_load_hostname_category(struct ndpi_detection_module_struct *ndpi_struct, + char *name, ndpi_protocol_category_t category); + int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_struct); /** * Add a string to match to an automata |