aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2015-11-12 15:11:28 +0100
committerLuca <deri@ntop.org>2015-11-12 15:11:28 +0100
commit68091c7cdb4f0f01e23052ccbb3afa818e47d712 (patch)
treea74ae98e3e853366b0f5f88be942b4763163a688
parente62be406ce1c106b3e8f36a5e2a7fb1ad57c5a1c (diff)
Added missing prototype
-rw-r--r--src/include/ndpi_api.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index c1f7fac84..f62b1222b 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -32,6 +32,18 @@
extern "C" {
#endif
+ /**
+ * This function returns the size of the flow struct
+ * @return the size of the flow struct
+ */
+ u_int32_t ndpi_detection_get_sizeof_ndpi_flow_struct(void);
+
+ /**
+ * This function returns the size of the id struct
+ * @return the size of the id struct
+ */
+ u_int32_t ndpi_detection_get_sizeof_ndpi_id_struct(void);
+
/* Public malloc/free */
void* ndpi_malloc(unsigned long size);
void* ndpi_calloc(unsigned long count, unsigned long size);