aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-02 23:17:33 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-02 23:17:33 +0100
commit4fb20757c63c3809d0535545d96e2e9f62b6198b (patch)
tree6e003fb351569ab1f6c162bd5e52695159bfe6bb /include/osmocore
parentf08eabf2341de43993918246e89ce30c3651f378 (diff)
import some GSM 04.08 utility code from OpenBSC
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/Makefile.am2
-rw-r--r--include/osmocore/gsm48.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/include/osmocore/Makefile.am b/include/osmocore/Makefile.am
index 8754295f..b45d0233 100644
--- a/include/osmocore/Makefile.am
+++ b/include/osmocore/Makefile.am
@@ -1,6 +1,6 @@
osmocore_HEADERS = signal.h linuxlist.h timer.h talloc.h msgb.h select.h \
tlv.h bitvec.h comp128.h statistics.h gsm_utils.h utils.h \
- gsmtap.h write_queue.h rsl.h
+ gsmtap.h write_queue.h rsl.h gsm48.h
osmocoredir = $(includedir)/osmocore
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
new file mode 100644
index 00000000..d0cf09d1
--- /dev/null
+++ b/include/osmocore/gsm48.h
@@ -0,0 +1,9 @@
+#ifndef _OSMOCORE_GSM48_H
+
+#include <osmocore/tlv.h>
+
+extern const struct tlv_definition gsm48_att_tlvdef;
+extern const char *cc_state_names[];
+const char *rr_cause_name(uint8_t cause);
+
+#endif