aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-11-12 22:28:18 +0900
committerHarald Welte <laforge@gnumonks.org>2009-11-12 22:28:18 +0900
commitccda96517c7f2f5aa10166eebe105f2f45342ad4 (patch)
tree8300b59e608bbf324d15b7d0df6dc2c8c4e32748 /openbsc/include/openbsc/gsm_data.h
parent5727cf4ea78033b955fadd2525dbe12da486edf6 (diff)
move 'struct value_string' and 'get_value_string()' to gsm_data
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index c3ea45dce..3040525c2 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -3,6 +3,13 @@
#include <sys/types.h>
+struct value_string {
+ unsigned int value;
+ const char *str;
+};
+
+const char *get_value_string(const struct value_string *vs, u_int32_t val);
+
enum gsm_band {
GSM_BAND_400,
GSM_BAND_850,