From ecf9dd0d9680882b7c9df5e9bdfdb3dd58a069ac Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 4 Mar 2010 14:27:48 +0100 Subject: add new rsl_dec_chan_nr() function --- include/osmocore/rsl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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[]; -- cgit v1.2.3