diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-01-10 23:41:51 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:08 +0100 |
commit | ce3b41fdb6a46500fb4957688e3708bddd2327cc (patch) | |
tree | d5cb643b50486674b6ef5fcc6b1e5e3418817943 | |
parent | 0f93bb80e429f9253244d76c3a0d8c89a5107b1e (diff) |
move struct ue_conn_ctx to header
-rw-r--r-- | openbsc/include/openbsc/iu.h | 6 | ||||
-rw-r--r-- | openbsc/src/gprs/iu.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h index fc1bde990..93ab9eb7a 100644 --- a/openbsc/include/openbsc/iu.h +++ b/openbsc/include/openbsc/iu.h @@ -3,6 +3,12 @@ struct msgb; struct gprs_ra_id; +struct ue_conn_ctx { + struct llist_head list; + struct osmo_sua_link *link; + uint32_t conn_id; +}; + typedef int (* iu_recv_cb_t )(struct msgb *msg, struct gprs_ra_id *ra_id, /* TODO is ra_id only used for gprs? ^ */ uint16_t *sai); diff --git a/openbsc/src/gprs/iu.c b/openbsc/src/gprs/iu.c index 4e4857b97..8eee5ed49 100644 --- a/openbsc/src/gprs/iu.c +++ b/openbsc/src/gprs/iu.c @@ -33,12 +33,6 @@ void *talloc_asn1_ctx; iu_recv_cb_t global_iu_recv_cb = NULL; -struct ue_conn_ctx { - struct llist_head list; - struct osmo_sua_link *link; - uint32_t conn_id; -}; - static LLIST_HEAD(conn_ctx_list); struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sua_link *link, uint32_t conn_id) |