aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2017-12-25 19:26:17 +0100
committerLuca Deri <deri@ntop.org>2017-12-25 19:26:17 +0100
commit8d52491508f6df8a2d1763b89690281d4952540c (patch)
tree1ac586380efdca7a68b287de88d8cade168ef31f /src/include
parentcaf602c4a9210e821a5650abc49590d89f16ea23 (diff)
Added simplified makefile
Fixed small warnings Compilation fixes
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 9fbabc5f7..25a7612f2 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -736,7 +736,9 @@ extern "C" {
void set_ndpi_flow_malloc(void* (*__ndpi_flow_malloc)(size_t size));
void set_ndpi_flow_free(void (*__ndpi_flow_free)(void *ptr));
void set_ndpi_debug_function(struct ndpi_detection_module_struct *ndpi_str, ndpi_debug_function_ptr ndpi_debug_printf);
-
+ void * ndpi_malloc(size_t size);
+ void * ndpi_calloc(unsigned long count, size_t size);
+ void ndpi_free(void *ptr);
#ifdef __cplusplus
}
#endif