3 * Copyright (c) 2006 CACE Technologies, Davis (California)
6 * SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
9 #ifndef _DOT11DECRYPT_DEBUG_H
10 #define _DOT11DECRYPT_DEBUG_H
12 #define WS_LOG_DOMAIN "dot11decrypt"
14 #include <wsutil/wslog.h>
16 /******************************************************************************/
17 /* Debug section: internal function to print debug information */
21 #define DEBUG_DUMP(name, ptr, size, level) \
22 ws_log_buffer_full(WS_LOG_DOMAIN, level, __FILE__, __LINE__, G_STRFUNC, ptr, size, 72, name);
24 #else /* defined WS_DEBUG */
26 #define DEBUG_DUMP(name, ptr, size, level)
28 #endif /* ?defined WS_DEBUG */
31 #endif /* ?defined _DOT11DECRYPT_DEBUG_H */