aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2010-02-20 16:24:02 +0100
committerHarald Welte <laforge@netfilter.org>2010-02-20 16:27:23 +0100
commitdfe6c7d910edbba238751d0cfddbb627bb08ef54 (patch)
treec4836091b0d65187ee50c52060d51117b21ac873 /openbsc/include/openbsc/gsm_data.h
parent9442c1b9bad3426ece07edc7fa2dca7464fc302a (diff)
split 'libosmocore' from openbsc codebase
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 5567d89bd..eebe6abb9 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -11,14 +11,6 @@ struct value_string {
const char *get_value_string(const struct value_string *vs, u_int32_t val);
int get_string_value(const struct value_string *vs, const char *str);
-enum gsm_band {
- GSM_BAND_400,
- GSM_BAND_850,
- GSM_BAND_900,
- GSM_BAND_1800,
- GSM_BAND_1900,
-};
-
enum gsm_phys_chan_config {
GSM_PCHAN_NONE,
GSM_PCHAN_CCCH,
@@ -56,15 +48,15 @@ enum gsm_chreq_reason_t {
GSM_CHREQ_REASON_OTHER,
};
-#include <openbsc/timer.h>
+#include <osmocore/timer.h>
#include <openbsc/gsm_04_08.h>
#include <openbsc/abis_rsl.h>
#include <openbsc/mncc.h>
-#include <openbsc/tlv.h>
-#include <openbsc/bitvec.h>
-#include <openbsc/statistics.h>
-
-#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+#include <osmocore/tlv.h>
+#include <osmocore/bitvec.h>
+#include <osmocore/statistics.h>
+#include <osmocore/gsm_utils.h>
+#include <osmocore/utils.h>
#define TRX_NR_TS 8
#define TS_MAX_LCHAN 8