diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 16:41:25 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-17 16:41:25 +0800 |
commit | 9764331062643d5b0771d2a93e6e503f0c029a9a (patch) | |
tree | 20f0a029c3affa7ce13a19a583e3b0d89b860aa6 /openbsc/include/openbsc/bsc_api.h | |
parent | 86481c29d4cc9bed3010db466be6e0757458b031 (diff) |
bsc_api: Move gsm48_rcvmsg into the BSC API and dispatch.
The next step in the way to the BSC API. We have a clear a
new connection was opened signal now... and the MSC could
use it...
Diffstat (limited to 'openbsc/include/openbsc/bsc_api.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_api.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/bsc_api.h b/openbsc/include/openbsc/bsc_api.h index 7747adab3..e92da216a 100644 --- a/openbsc/include/openbsc/bsc_api.h +++ b/openbsc/include/openbsc/bsc_api.h @@ -5,12 +5,16 @@ #include "gsm_data.h" +#define BSC_API_CONN_POL_ACCEPT 0 +#define BSC_API_CONN_POL_REJECT 1 + struct bsc_api { void (*sapi_n_reject)(struct gsm_subscriber_connection *conn, int dlci); void (*cipher_mode_compl)(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t ind); - void (*compl_l3)(struct gsm_subscriber_connection *conn, - struct msgb *msg, uint16_t chosen_channel); + int (*compl_l3)(struct gsm_subscriber_connection *conn, + struct msgb *msg, uint16_t chosen_channel); + void (*dtap)(struct gsm_subscriber_connection *conn, struct msgb *msg); void (*ass_compl)(struct gsm_subscriber_connection *conn, uint16_t rr_cause); void (*ass_fail)(struct gsm_subscriber_connection *conn, |