Function set_ndpi_debug_function

Function Documentation

void set_ndpi_debug_function(struct ndpi_detection_module_struct *ndpi_str, ndpi_debug_function_ptr ndpi_debug_printf)

Set a custom debug/logging function for nDPI.

Parameters:
  • ndpi_str – The detection module

  • ndpi_debug_printf – Function pointer to the custom debug printf implementation