13 lines
294 B
C
13 lines
294 B
C
#ifndef __GM_DEBUG_H__
|
|
#define __GM_DEBUG_H__ 1
|
|
|
|
typedef enum _GmDebugLevel {
|
|
DEBUG_ALWAYS = 1 << 1,
|
|
DEBUG_DEFAULT = 1 << 2,
|
|
DEBUG_MCP = 1 << 3
|
|
} GmDebugLevel;
|
|
|
|
void gm_debug_msg(GmDebugLevel level, char *line, ...);
|
|
void gm_debug_set_level(GmDebugLevel level);
|
|
|
|
#endif /* __GM_DEBUG_H__ */
|