aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-01-18 16:01:34 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:07 +0100
commitf6672ab8b00e5b7fd71b4a4b050e91bff2ca2d6c (patch)
tree745da06ab2085b968a3b44cf020bf77eb8f8fcc8 /openbsc/include
parent51273157fa18034349d6ac1395c6d43e80cc07c0 (diff)
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().
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_api.h2
-rw-r--r--openbsc/include/openbsc/gsm_data.h3
2 files changed, 3 insertions, 2 deletions
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;