aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/debug.c1
-rw-r--r--src/common/debug.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/debug.c b/src/common/debug.c
index 146662d..2749241 100644
--- a/src/common/debug.c
+++ b/src/common/debug.c
@@ -43,6 +43,7 @@ struct debug_cat {
{ "frame", "\033[0;36m" },
{ "call", "\033[1;37m" },
{ "mncc", "\033[1;32m" },
+ { "database", "\033[0;33m" },
};
int debuglevel = DEBUG_INFO;
diff --git a/src/common/debug.h b/src/common/debug.h
index 6351827..f0b0232 100644
--- a/src/common/debug.h
+++ b/src/common/debug.h
@@ -14,6 +14,7 @@
#define DFRAME 7
#define DCALL 8
#define DMNCC 9
+#define DDB 10
#define PDEBUG(cat, level, fmt, arg...) _printdebug(__FILE__, __FUNCTION__, __LINE__, cat, level, fmt, ## arg)
void _printdebug(const char *file, const char *function, int line, int cat, int level, const char *fmt, ...);