summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/signal.h
diff options
context:
space:
mode:
authorHarald Welte2011-07-19 14:31:44 +0200
committerHarald Welte2011-07-19 14:31:44 +0200
commit892e621fec571c7cba3573caa0d328ed1b25d8ee (patch)
treec50a44d55d6d8132afaf258c802a970e51d9a6f1 /include/osmocom/core/signal.h
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 'include/osmocom/core/signal.h')
-rw-r--r--include/osmocom/core/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/core/signal.h b/include/osmocom/core/signal.h
index 7c32c77..2442e51 100644
--- a/include/osmocom/core/signal.h
+++ b/include/osmocom/core/signal.h
@@ -11,8 +11,8 @@
/* signal subsystems. */
enum {
- SS_GLOBAL = OSMO_SIGNAL_SS_RESERVED,
- SS_INPUT,
+ SS_L_GLOBAL = OSMO_SIGNAL_SS_RESERVED,
+ SS_L_INPUT,
};
/* application-defined signal types. */
@@ -21,7 +21,7 @@ enum {
/* signal types. */
enum {
- S_GLOBAL_SHUTDOWN = OSMO_SIGNAL_T_RESERVED,
+ S_L_GLOBAL_SHUTDOWN = OSMO_SIGNAL_T_RESERVED,
};
typedef int osmo_signal_cbfn(unsigned int subsys, unsigned int signal, void *handler_data, void *signal_data);