aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-07-04 19:52:00 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-07-09 15:16:16 +0200
commite7fa08b6dfdfb607264179b457276d18c24da269 (patch)
tree1f51334dfeccb6cda2dd0671b53d648418e88b8a /src/common
parent64c829909bc5b73a7765272ad07cf6465762aeac (diff)
NMT / SMS: Short Message Service support
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 08e8620..2130ac5 100644
--- a/src/common/debug.c
+++ b/src/common/debug.c
@@ -51,6 +51,7 @@ struct debug_cat {
{ "database", "\033[0;33m" },
{ "transaction", "\033[0;32m" },
{ "dms", "\033[0;33m" },
+ { "sms", "\033[1;37m" },
{ NULL, NULL }
};
diff --git a/src/common/debug.h b/src/common/debug.h
index 8ca9f78..92ffe08 100644
--- a/src/common/debug.h
+++ b/src/common/debug.h
@@ -18,6 +18,7 @@
#define DDB 11
#define DTRANS 12
#define DDMS 13
+#define DSMS 14
#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, ...);