aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 3a5c7eccc..9c53713de 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -222,8 +222,10 @@ extern "C" {
*
* @par ndpi_str = the struct created for the protocol detection
*
+ * @return 0 on success
+ *
*/
- void ndpi_finalize_initialization(struct ndpi_detection_module_struct *ndpi_str);
+ int ndpi_finalize_initialization(struct ndpi_detection_module_struct *ndpi_str);
/**
* Frees the dynamic memory allocated members in the specified flow