aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-07-27 23:05:03 +0200
committerHarald Welte <laforge@gnumonks.org>2016-10-16 22:14:08 +0000
commit4ca5c53f7fd67a752512b33d8bbac30711c23866 (patch)
tree98a2df21eacf0783fdd7e9af2b503179f9c4db0f /include
parentf35d8898aba6cbc7545a421a2a6513ed55691d99 (diff)
Convert e1inp_{sign,ts}type_name() to use struct value_string
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/abis/e1_input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h
index c175649..8ef33d5 100644
--- a/include/osmocom/abis/e1_input.h
+++ b/include/osmocom/abis/e1_input.h
@@ -21,6 +21,7 @@ enum e1inp_sign_type {
E1INP_SIGN_OSMO, /* IPA CCM OSMO sub-type */
};
const char *e1inp_signtype_name(enum e1inp_sign_type tp);
+const struct value_string e1inp_sign_type_names[5];
enum e1inp_ctr {
E1I_CTR_HDLC_ABORT,
@@ -65,6 +66,7 @@ enum e1inp_ts_type {
E1INP_TS_TYPE_TRAU,
};
const char *e1inp_tstype_name(enum e1inp_ts_type tp);
+const struct value_string e1inp_ts_type_names[5];
/* A timeslot in the E1 interface */
struct e1inp_ts {