diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-12-28 17:22:12 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-12-28 17:22:12 +0000 |
commit | bd282b4114be8c7060fbc3873a04b80ec18317b8 (patch) | |
tree | ef14ce379885a746930a9839b20bebb530b35d04 /epan/crypt/airpdcap_debug.c | |
parent | 60180815a6a70d264fdf4f6ff9f49eeb1a7c6742 (diff) | |
download | wireshark-bd282b4114be8c7060fbc3873a04b80ec18317b8.tar.gz |
Move the contents of airpdcap to epan/crypt. Try to fix the current
distcheck failure. Move the nmake build targets for airpdcap from
epan/dissectors to epan. This will probably break the Windows build.
svn path=/trunk/; revision=20231
Diffstat (limited to 'epan/crypt/airpdcap_debug.c')
-rw-r--r-- | epan/crypt/airpdcap_debug.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/epan/crypt/airpdcap_debug.c b/epan/crypt/airpdcap_debug.c new file mode 100644 index 0000000000..6b6125ef5c --- /dev/null +++ b/epan/crypt/airpdcap_debug.c @@ -0,0 +1,21 @@ +/******************************************************************************/ +/* 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 |