aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-01-04 16:10:38 +0000
committerHarald Welte <laforge@gnumonks.org>2009-01-04 16:10:38 +0000
commita72c98eb2fa83766f177eb63013e108dfd83013a (patch)
treeb09257cfc062224b3a3254837d063f4fc4fd9e33 /include/openbsc/gsm_data.h
parent47d88aecafefa8fa1272ee405a631782ed6abd48 (diff)
functions to convert lchan/pchan type into human-readable string
Diffstat (limited to 'include/openbsc/gsm_data.h')
-rw-r--r--include/openbsc/gsm_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 71ad88fe2..02fdeafba 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -190,6 +190,10 @@ struct gsm_network {
struct gsm_network *gsm_network_init(unsigned int num_bts, u_int16_t country_code,
u_int16_t network_code);
+const char *gsm_pchan_name(enum gsm_phys_chan_config c);
+const char *gsm_lchan_name(enum gsm_chan_t c);
+const char *gsm_chreq_name(enum gsm_chreq_reason_t c);
+
enum gsm_e1_event {
EVT_E1_NONE,
EVT_E1_OML_UP,