2006-12-05 21:06:09 +00:00
|
|
|
/******************************************************************************/
|
|
|
|
/* File includes */
|
|
|
|
/* */
|
2006-12-27 23:05:55 +00:00
|
|
|
#include "airpdcap_debug.h"
|
2006-12-05 21:06:09 +00:00
|
|
|
/* */
|
|
|
|
/******************************************************************************/
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
void print_debug_line(CHAR *function, CHAR *msg, INT level) {
|
|
|
|
if (level<=AIRPDCAP_DEBUG_USED_LEVEL)
|
2007-01-11 22:12:33 +00:00
|
|
|
g_warning("dbg(%d)|(%s) %s", level, function, msg);
|
2006-12-05 21:06:09 +00:00
|
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-12-27 23:05:55 +00:00
|
|
|
#endif
|