aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r--src/include/ndpi_api.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 9ad9bd7c2..c350159f0 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -99,6 +99,15 @@ extern "C" {
u_int match_len, u_int32_t *num);
/**
+ * Return the protocol error code of a given flow
+ *
+ * @par flow = the flow to analyze
+ * @return the error code or 0 otherwise
+ *
+ */
+ u_int32_t ndpi_get_flow_error_code(struct ndpi_flow_struct *flow);
+
+ /**
* nDPI personal allocation and free functions
**/
void * ndpi_malloc(size_t size);