forked from osmocom/wireshark
def1f435fc
to GByteArrays. Add format_uri() to strutil, which formats a byte string with percent-escapes. Fixup whitespace and indentation. svn path=/trunk/; revision=20397
22 lines
544 B
C
22 lines
544 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)
|
|
g_warning("dbg(%d)|(%s) %s", level, function, msg);
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|