aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-29 10:52:38 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-29 10:53:25 +0100
commit1887f9d153497adc37cec5b8db6b7423ff64d6c0 (patch)
tree43b4b9b971ba3dd6549dba33c5d845dbf9f59fd5 /openbsc/include
parent8e93b7908f09e5c356989677e21dd8b8e9cb4371 (diff)
Introduce gsm_lchans_name() for human readable lchan state name
Also, use this new function to dump lchan state on VTY and to improve readability of RSL log messages.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index cd1209303..2e5779383 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -632,6 +632,7 @@ const char *gsm_lchant_name(enum gsm_chan_t c);
const char *gsm_chreq_name(enum gsm_chreq_reason_t c);
char *gsm_ts_name(struct gsm_bts_trx_ts *ts);
char *gsm_lchan_name(struct gsm_lchan *lchan);
+const char *gsm_lchans_name(enum gsm_lchan_state s);
enum gsm_e1_event {
EVT_E1_NONE,