aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-12-26 00:06:02 +0000
committerHarald Welte <laforge@gnumonks.org>2008-12-26 00:06:02 +0000
commit3633a6daf9b95c868512b963575c42290bfaa4b5 (patch)
tree4275299a674db5634c3b05852c71e89bb64d24df /include/openbsc/debug.h
parentf6b7a9054cfa1ad4ad28c9d7966ee1fee8be81d3 (diff)
* fix DEBUGP defines, activate DEBUG functionality
* fix typo in db_transmission function
Diffstat (limited to 'include/openbsc/debug.h')
-rw-r--r--include/openbsc/debug.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index c1db120a9..41953a362 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -1,13 +1,18 @@
#ifndef _DEBUG_H
#define _DEBUG_H
+#define DEBUG
+
#define DRLL 0x0001
#define DCC 0x0002
#define DMM 0x0004
#define DRR 0x0008
+#define DRSL 0x0010
+#define DNM 0x0020
+#define DMI 0x1000
#ifdef DEBUG
-#define DEBUGP(ss, args, ...) debugp(ss, args, ...)
+#define DEBUGP(ss, args...) debugp(ss, __FILE__, __LINE__, ## args)
#else
#define DEBUGP(xss, args, ...)
#endif