aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-07-25 12:25:17 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-07-25 12:27:44 +0200
commit27af075e1e93ba9cd69a345fa590c50e96f8d9c6 (patch)
tree38722744d161607154833ffdf71d59a3815b0541 /include
parent5e84a869376b9ece9ce385bf9a92ae8ba227b214 (diff)
osmocore: Add utility function rsl_chan_nr_str to RSL
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include')
-rw-r--r--include/osmocore/rsl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h
index cd84057b..54d67032 100644
--- a/include/osmocore/rsl.h
+++ b/include/osmocore/rsl.h
@@ -17,6 +17,9 @@ extern const struct tlv_definition rsl_att_tlvdef;
uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot);
/* decode channel number as per Section 9.3.1 */
int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *timeslot);
+/* Turns channel number into a string */
+const char *rsl_chan_nr_str(uint8_t chan_nr);
+
const char *rsl_err_name(uint8_t err);
const char *rsl_rlm_cause_name(uint8_t err);