aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/iu.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-08 22:14:07 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:09 +0100
commitb9e5403ef46171f58390757d002a756bd9d2d202 (patch)
tree59e707165a09c9e73e2059813b62f2f9124118b6 /openbsc/include/openbsc/iu.h
parentb6769b99deb471dc7cb5d26b4d145e42ed7478e1 (diff)
mscsplit: remove bts and lchan pointers from libmsc
The diff between this and master will probably need a lot of review and fixes. The current state does compile, but I expect pretty much everything to be broken now. Future development will reinstate proper functionality piecemeal. The first goal is to get basic signalling to work, then SMS. The voice control (RTP) is completely disabled now (see "#if BEFORE_MSCSPLIT") and will be fixed last AFAICT.
Diffstat (limited to 'openbsc/include/openbsc/iu.h')
-rw-r--r--openbsc/include/openbsc/iu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index 2a759ebe4..3bcc37825 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -3,8 +3,11 @@
struct msgb;
struct gprs_ra_id;
+struct iu_cb_ctx {
+ struct gsm_network *network;
+};
+
struct ue_conn_ctx {
- struct llist_head list;
struct osmo_sua_link *link;
uint32_t conn_id;
};
@@ -15,7 +18,7 @@ typedef int (* iu_recv_cb_t )(struct msgb *msg, struct gprs_ra_id *ra_id,
uint16_t *sai);
int iu_init(void *ctx, const char *listen_addr, uint16_t listen_port,
- iu_recv_cb_t iu_recv_cb);
+ struct gsm_network *network, iu_recv_cb_t iu_recv_cb);
int iu_tx(struct msgb *msg, uint8_t sapi);