summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/protocol
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-03-30 21:14:53 +0200
committerHarald Welte <laforge@gnumonks.org>2016-03-30 21:50:44 +0200
commitfb348eeff25e8e66a4a8651dc94901c7a004343a (patch)
tree6c6cea6c82a45796e855a778442655f81d29d026 /include/osmocom/gsm/protocol
parent92c4ec293d0b73e5c6306d26e608340edc40b04c (diff)
Export names for gsm_chan_t and gsm48_chan_mode
This can be used with get_value_string() to improve debugging output.
Diffstat (limited to 'include/osmocom/gsm/protocol')
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index d49b77fe..3282bc16 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -2,6 +2,8 @@
#include <stdint.h>
+#include <osmocom/core/utils.h>
+
/* GSM TS 04.08 definitions */
struct gsm_lchan;
@@ -347,6 +349,8 @@ enum gsm48_chan_mode {
GSM48_CMODE_DATA_3k6 = 0x13,
};
+extern const struct value_string gsm48_chan_mode_names[];
+
/* Chapter 9.1.2 */
struct gsm48_ass_cmd {
/* Semantic is from 10.5.2.5a */