aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-01-16 12:47:33 +0100
committerLuca Deri <deri@ntop.org>2022-01-16 12:47:56 +0100
commitf3af39ee42b954ec0486986c7cfac9ee44cd63e4 (patch)
tree648a553b6285d807f32a3f9f66ce9f622f912a6a /src/include
parent42d74171b232686d00157dd6b0dcbb81da7ae620 (diff)
Added performance tests tools
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 02436b285..f94fd4093 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -118,7 +118,8 @@ extern "C" {
void ndpi_free(void *ptr);
void * ndpi_flow_malloc(size_t size);
void ndpi_flow_free(void *ptr);
-
+ u_int32_t ndpi_get_tot_allocated_memory();
+
/**
* Search the first occurrence of substring -find- in -s-
* The search is limited to the first -slen- characters of the string