aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-09 12:42:37 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-09 12:42:37 +0200
commitf73f6fad8caf709774b10cb579695fa579254364 (patch)
tree15a5de6abcaf7fbfa6f8f0e84ad9a27776c8a4e3 /openbsc/include
parent25cb84be128ad1d7f9ccf09286d8eaa09dbd2c2c (diff)
[rsl] Introduce a method to set the state of the lchan
Setting the state through a dedicated method allows us to track the state transitions and check if they are done in a proper way.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/abis_rsl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/abis_rsl.h b/openbsc/include/openbsc/abis_rsl.h
index c8ac1dead..8f2c8d33a 100644
--- a/openbsc/include/openbsc/abis_rsl.h
+++ b/openbsc/include/openbsc/abis_rsl.h
@@ -70,6 +70,8 @@ u_int64_t str_to_imsi(const char *imsi_str);
u_int8_t lchan2chan_nr(const struct gsm_lchan *lchan);
int rsl_release_request(struct gsm_lchan *lchan, u_int8_t link_id, u_int8_t release_reason);
+int rsl_lchan_set_state(struct gsm_lchan *lchan, int);
+
/* to be provided by external code */
int abis_rsl_sendmsg(struct msgb *msg);
int rsl_deact_sacch(struct gsm_lchan *lchan);