diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-09 12:42:37 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-09 12:42:37 +0200 |
commit | f73f6fad8caf709774b10cb579695fa579254364 (patch) | |
tree | 15a5de6abcaf7fbfa6f8f0e84ad9a27776c8a4e3 /openbsc/include/openbsc/abis_rsl.h | |
parent | 25cb84be128ad1d7f9ccf09286d8eaa09dbd2c2c (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/openbsc/abis_rsl.h')
-rw-r--r-- | openbsc/include/openbsc/abis_rsl.h | 2 |
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); |