diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-19 14:31:44 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-19 14:31:44 +0200 |
commit | 892e621fec571c7cba3573caa0d328ed1b25d8ee (patch) | |
tree | c50a44d55d6d8132afaf258c802a970e51d9a6f1 /src | |
parent | c5a0ded53fe359ff4436db72e6aca5ab35927891 (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 'src')
-rw-r--r-- | src/logging.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logging.c b/src/logging.c index 6aad6e15..52f401c0 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", |