summaryrefslogtreecommitdiffstats
path: root/epan/crypt/dot11decrypt_debug.h
blob: 42c55568c4bd58c16ee0eb20a8f72e850700224b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/** @file
 *
 * Copyright (c) 2006 CACE Technologies, Davis (California)
 * All rights reserved.
 *
 * SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
 */

#ifndef	_DOT11DECRYPT_DEBUG_H
#define	_DOT11DECRYPT_DEBUG_H

#define WS_LOG_DOMAIN "dot11decrypt"

#include <wsutil/wslog.h>

/******************************************************************************/
/* Debug section: internal function to print debug information						*/
/*																										*/
#ifdef WS_DEBUG

#define DEBUG_DUMP(name, ptr, size, level) \
    ws_log_buffer_full(WS_LOG_DOMAIN, level, __FILE__, __LINE__, G_STRFUNC, ptr, size, 72, name);

#else	/* defined WS_DEBUG */

#define DEBUG_DUMP(name, ptr, size, level)

#endif	/* ?defined WS_DEBUG */


#endif	/* ?defined _DOT11DECRYPT_DEBUG_H	*/