osmo-msc/openbsc/src/osmo-bsc
Jacob Erlbeck 1e30a28e51 msc: Add and use gsm_subscriber_group
Currently every subcriber object directly refers to the gsm_network
which contains a flag shared by every related subscriber
(keep_subscr). This adds a dependency on gsm_network even if only the
function defined in gsm_subscriber_base.c are used.

This patch adds a new struct gsm_subscriber_group which contains the
keep_subscr flag and a back reference to the network object. The
latter is not dereferenced in gsm_subscriber_base.c, so it can safely
be set to NULL when only that part of the gsm_subscriber API is being
used. It also changes that API to use gsm_subscriber_group instead of
gsm_network parameters.

Since there are some places where a pointer to the gsm_network is
needed but where only a gsm_subscriber is available, a 'net' back
pointer is added to the group struct, too. Nevertheless subscr group
and network could be separated completely, but this is not the topic
of this commit.

Sponsored-by: On-Waves ehf
2014-12-05 14:59:02 +01:00
..
Makefile.am move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
osmo_bsc_api.c bsc: Allow to disable sending ping/pong to the MSC 2014-10-29 10:11:21 +01:00
osmo_bsc_audio.c handover: Fix the handover signalling for IP based BTSes 2012-12-26 10:32:02 +01:00
osmo_bsc_bssap.c msc: Add and use gsm_subscriber_group 2014-12-05 14:59:02 +01:00
osmo_bsc_ctrl.c move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
osmo_bsc_filter.c msc: Add and use gsm_subscriber_group 2014-12-05 14:59:02 +01:00
osmo_bsc_grace.c msc: Add and use gsm_subscriber_group 2014-12-05 14:59:02 +01:00
osmo_bsc_main.c Use port number #defines for VTY and CTRL ports 2014-08-24 17:54:49 +02:00
osmo_bsc_msc.c bsc: Allow to disable sending ping/pong to the MSC 2014-10-29 10:11:21 +01:00
osmo_bsc_sccp.c bsc: Add a "IPA PING" to the SCCP CR messages 2014-09-05 12:25:32 +02:00
osmo_bsc_vty.c bsc: Allow to disable sending ping/pong to the MSC 2014-10-29 10:11:21 +01:00