From 0b099b27df4325f48749e2cec10dc6f52a21c513 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 9 Jun 2011 13:14:11 +0200 Subject: include: remove internal definition that are now in libosmocore Still in one separate patch for libosmocore, but they may become part of mainline soon. --- include/internal.h | 57 ------------------------------------------ include/osmocom/abis/logging.h | 16 ++++++++++++ include/osmocom/abis/signal.h | 17 +++++++++++++ 3 files changed, 33 insertions(+), 57 deletions(-) create mode 100644 include/osmocom/abis/logging.h create mode 100644 include/osmocom/abis/signal.h (limited to 'include') 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 + +/* 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 + +/* signal subsystems. */ +enum { + SS_GLOBAL = OSMO_SIGNAL_SS_ABIS_RESERVED, + SS_INPUT, +}; + +/* signal types. */ +enum { + S_GLOBAL_SHUTDOWN = OSMO_SIGNAL_T_ABIS_RESERVED, +}; + +#endif -- cgit v1.2.3-55-g7522