Merge pull request #553 from dsokoloski/pr-debug-call-back

Added missing file, func, and line parameters to call-back typedef.
This commit is contained in:
Michele Campus
2018-04-26 11:45:36 +02:00
committed by GitHub
+2 -1
View File
@@ -61,7 +61,8 @@ typedef struct ndpi_protocol_bitmask_struct {
/* NDPI_DEBUG_FUNCTION_PTR (cast) */
typedef void (*ndpi_debug_function_ptr) (u_int32_t protocol, void *module_struct,
ndpi_log_level_t log_level, const char *format, ...);
ndpi_log_level_t log_level, const char *file, const char *func, unsigned line,
const char *format, ...);
/* ************************************************************ */