summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/internal.h57
-rw-r--r--include/osmocom/abis/logging.h16
-rw-r--r--include/osmocom/abis/signal.h17
3 files changed, 33 insertions, 57 deletions
diff --git a/include/internal.h b/include/internal.h
index 7d0b151..9d16722 100644
--- a/include/internal.h
+++ b/include/internal.h
@@ -12,61 +12,4 @@ struct osmo_fd;
struct msgb *ipaccess_read_msg(struct osmo_fd *bfd, int *error);
void ipaccess_prepend_header(struct msgb *msg, int proto);
-/* things I don't know what to do with yet. */
-
-/* from include/openbsc/signal.h, we need SS_INPUT and S_GLOBAL_SHUTDOWN. */
-enum signal_subsystems {
- SS_PAGING,
- SS_SMS,
- SS_ABISIP,
- SS_NM,
- SS_LCHAN,
- SS_SUBSCR,
- SS_SCALL,
- SS_GLOBAL,
- SS_CHALLOC,
- SS_NS,
- SS_IPAC_NWL,
- SS_RF,
- SS_MSC,
- SS_HO,
- SS_INPUT,
-};
-
-enum signal_global {
- S_GLOBAL_SHUTDOWN,
- S_GLOBAL_BTS_CLOSE_OM,
-};
-
-/* from include/openbsc/debug.h */
-enum {
- DRLL,
- DCC,
- DMM,
- DRR,
- DRSL,
- DNM,
- DMNCC,
- DSMS,
- DPAG,
- DMEAS,
- DMI,
- DMIB,
- DMUX,
- DINP,
- DSCCP,
- DMSC,
- DMGCP,
- DHO,
- DDB,
- DREF,
- DGPRS,
- DNS,
- DBSSGP,
- DLLC,
- DSNDCP,
- DNAT,
- Debug_LastEntry,
-};
-
#endif
diff --git a/include/osmocom/abis/logging.h b/include/osmocom/abis/logging.h
new file mode 100644
index 0000000..c3cac11
--- /dev/null
+++ b/include/osmocom/abis/logging.h
@@ -0,0 +1,16 @@
+#ifndef _OSMO_ABIS_LOGGING_H_
+#define _OSMO_ABIS_LOGGING_H_
+
+#include <osmocom/core/logging.h>
+
+/* logging subsystems. */
+enum {
+ DINP = OSMO_LOG_SS_ABIS_RESERVED,
+ DMUX,
+ DMI,
+ DMIB,
+ DRSL,
+ DNM,
+};
+
+#endif
diff --git a/include/osmocom/abis/signal.h b/include/osmocom/abis/signal.h
new file mode 100644
index 0000000..cf5ad55
--- /dev/null
+++ b/include/osmocom/abis/signal.h
@@ -0,0 +1,17 @@
+#ifndef _OSMO_ABIS_SIGNAL_H_
+#define _OSMO_ABIS_SIGNAL_H_
+
+#include <osmocom/core/signal.h>
+
+/* signal subsystems. */
+enum {
+ SS_GLOBAL = OSMO_SIGNAL_SS_ABIS_RESERVED,
+ SS_INPUT,
+};
+
+/* signal types. */
+enum {
+ S_GLOBAL_SHUTDOWN = OSMO_SIGNAL_T_ABIS_RESERVED,
+};
+
+#endif