aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/logging.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-19 14:31:44 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-19 14:31:44 +0200
commit892e621fec571c7cba3573caa0d328ed1b25d8ee (patch)
treec50a44d55d6d8132afaf258c802a970e51d9a6f1 /include/osmocom/core/logging.h
parentc5a0ded53fe359ff4436db72e6aca5ab35927891 (diff)
make sure we don't have namespace clashes between libraries and apps
* All loging prefixes in libraries should be DL like DLINP * All signals / subsystems should be called S_L_* SS_L_* * All command nodes should be called L_*_NODE This makes sure existinc code still compiles as expected
Diffstat (limited to 'include/osmocom/core/logging.h')
-rw-r--r--include/osmocom/core/logging.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 04692d3..20c1254 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -39,12 +39,12 @@ void logp(int subsys, char *file, int line, int cont, const char *format, ...) _
/* logging levels defined by the library itself */
#define DLGLOBAL -1
#define DLLAPDM -2
-#define DINP -3
-#define DMUX -4
-#define DMI -5
-#define DMIB -6
-#define DRSL -7
-#define DNM -8
+#define DLINP -3
+#define DLMUX -4
+#define DLMI -5
+#define DLMIB -6
+#define DLRSL -7
+#define DLNM -8
#define OSMO_NUM_DLIB 9
struct log_category {