Function ndpi_calloc
- Defined in File ndpi_api.h 
Function Documentation
- 
void *ndpi_calloc(unsigned long count, size_t size)
- Allocate and zero-initialize memory using nDPI’s memory allocator. This function can be customized via ndpi_set_calloc() to use a custom allocator. - Parameters:
- count – Number of elements to allocate 
- size – Size of each element in bytes 
 
- Returns:
- Pointer to zero-initialized memory, or NULL on failure