summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-04 14:27:48 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-04 14:27:48 +0100
commitecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac (patch)
tree2ed02cb8cd8659c882a913c3e18fbbdd6aa8fb3d /include
parent61e2bfc5f44267a7a3b0b25ff3ab922fca2a199c (diff)
add new rsl_dec_chan_nr() function
Diffstat (limited to 'include')
-rw-r--r--include/osmocore/rsl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h
index 0da05206..4c5f75b8 100644
--- a/include/osmocore/rsl.h
+++ b/include/osmocore/rsl.h
@@ -13,6 +13,8 @@ extern const struct tlv_definition rsl_att_tlvdef;
/* encode channel number as per Section 9.3.1 */
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);
const struct value_string rsl_rlm_cause_strs[];