summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte2011-07-19 14:31:44 +0200
committerHarald Welte2011-07-19 14:31:44 +0200
commit892e621fec571c7cba3573caa0d328ed1b25d8ee (patch)
treec50a44d55d6d8132afaf258c802a970e51d9a6f1 /src
parentmkae the new 'void *dst' member part of a union with the trx pointer (diff)
downloadlibosmocore-892e621fec571c7cba3573caa0d328ed1b25d8ee.tar.gz
libosmocore-892e621fec571c7cba3573caa0d328ed1b25d8ee.tar.xz
libosmocore-892e621fec571c7cba3573caa0d328ed1b25d8ee.zip
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 'src')
-rw-r--r--src/logging.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logging.c b/src/logging.c
index 6aad6e1..52f401c 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -72,35 +72,35 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.loglevel = LOGL_NOTICE,
.enabled = 1,
},
- [INT2IDX(DINP)] = {
+ [INT2IDX(DLINP)] = {
.name = "DINP",
.description = "A-bis Intput Subsystem",
.loglevel = LOGL_NOTICE,
.enabled = 1,
},
- [INT2IDX(DMUX)] = {
+ [INT2IDX(DLMUX)] = {
.name = "DMUX",
.description = "A-bis B-Subchannel TRAU Frame Multiplex",
.loglevel = LOGL_NOTICE,
.enabled = 1,
},
- [INT2IDX(DMI)] = {
+ [INT2IDX(DLMI)] = {
.name = "DMI",
.description = "A-bis Input Driver for Signalling",
.enabled = 0, .loglevel = LOGL_NOTICE,
},
- [INT2IDX(DMIB)] = {
+ [INT2IDX(DLMIB)] = {
.name = "DMIB",
.description = "A-bis Input Driver for B-Channels (voice)",
.enabled = 0, .loglevel = LOGL_NOTICE,
},
- [INT2IDX(DRSL)] = {
+ [INT2IDX(DLRSL)] = {
.name = "DRSL",
.description = "A-bis Radio Siganlling Link (RSL)",
.color = "\033[1;35m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
- [INT2IDX(DNM)] = {
+ [INT2IDX(DLNM)] = {
.name = "DNM",
.description = "A-bis Network Management / O&M (NM/OML)",
.color = "\033[1;36m",