From f6672ab8b00e5b7fd71b4a4b050e91bff2ca2d6c Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 18 Jan 2016 16:01:34 +0100 Subject: move subscriber conns list into struct gsm_network. Replace the global sub_connections llist with gsm_network.subscr_conns. Initialize and apply where applicable. Remove bsc_api_sub_connections(). --- openbsc/include/openbsc/bsc_api.h | 2 -- openbsc/include/openbsc/gsm_data.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bsc_api.h b/openbsc/include/openbsc/bsc_api.h index a3d12f23b..3a9311991 100644 --- a/openbsc/include/openbsc/bsc_api.h +++ b/openbsc/include/openbsc/bsc_api.h @@ -52,6 +52,4 @@ int gsm0808_page(struct gsm_bts *bts, unsigned int page_group, unsigned int mi_len, uint8_t *mi, int chan_type); int gsm0808_clear(struct gsm_subscriber_connection *conn); -struct llist_head *bsc_api_sub_connections(struct gsm_network *net); - #endif diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 6d7aba358..e1f344b2b 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -291,6 +291,9 @@ struct gsm_network { /* control interface */ struct ctrl_handle *ctrl; + + /* all active subscriber connections. */ + struct llist_head subscr_conns; }; struct osmo_esme; -- cgit v1.2.3