summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/debug.h
blob: aee6fdbbe442c06e60eacedeb32c1448fc77b77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef DEBUG_H
#define DEBUG_H

#include <stdbool.h>

#ifdef DYNAMIC_DEBUG
#define syslinux_debug_enabled	__syslinux_debug_enabled(__func__)
extern bool __syslinux_debug_enabled(const char *func);
#else
#define syslinux_debug_enabled	(0)
#endif /* DYNAMIC_DEBUG */

extern int syslinux_debug(const char *str, bool enable);

#endif /* DEBUG_H */