diff options
author | Michele Campus <fci1908@gmail.com> | 2018-04-26 11:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 11:45:36 +0200 |
commit | 79f3199339508b21380006624c743ae22a8cca29 (patch) | |
tree | cda2e9d61353ca0b6f7661b4ce6bcaf32750984b /src | |
parent | 23042b3c9ade1e1ca7d5a0a5a69403c1d6e5a503 (diff) | |
parent | 3b5f32f261689fe7799a82a8c706231274dd52a8 (diff) |
Merge pull request #553 from dsokoloski/pr-debug-call-back
Added missing file, func, and line parameters to call-back typedef.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 14b2992a2..a338338d1 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -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, ...); /* ************************************************************ */ |