forked from osmocom/wireshark
21 lines
542 B
C
21 lines
542 B
C
/******************************************************************************/
|
|
/* File includes */
|
|
/* */
|
|
#include "airpdcap_debug.h"
|
|
/* */
|
|
/******************************************************************************/
|
|
|
|
#ifdef _DEBUG
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void print_debug_line(CHAR *function, CHAR *msg, INT level) {
|
|
if (level<=AIRPDCAP_DEBUG_USED_LEVEL)
|
|
printf("dbg(%d)|(%s) %s\n", level, function, msg);
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |