Function set_ndpi_malloc

Function Documentation

void set_ndpi_malloc(void *(*__ndpi_malloc)(size_t size))

Set a custom malloc function for nDPI’s general memory allocator.

Parameters:

__ndpi_malloc – Function pointer to the custom malloc implementation