summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2010-03-04 14:27:48 +0100
committerHarald Welte2010-03-04 14:27:48 +0100
commitecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac (patch)
tree2ed02cb8cd8659c882a913c3e18fbbdd6aa8fb3d /include
parentimport gsm48 utility functions from OpenBSC (diff)
downloadlibosmocore-ecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac.tar.gz
libosmocore-ecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac.tar.xz
libosmocore-ecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac.zip
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 0da0520..4c5f75b 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[];