misc: Move handover_logic.c into the libbsc.a

We are implementing the intra BSC handover so we should have the
code in the BSC as well.
This commit is contained in:
Holger Hans Peter Freyther 2010-06-30 12:56:41 +08:00
parent 88519eaaef
commit 0610947f4c
3 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ libbsc_a_SOURCES = abis_rsl.c abis_nm.c gsm_data.c gsm_04_08_utils.c \
chan_alloc.c debug.c socket.c abis_nm_vty.c \
gsm_subscriber_base.c subchan_demux.c bsc_rll.c transaction.c \
trau_frame.c trau_mux.c paging.c e1_config.c e1_input.c \
input/misdn.c input/ipaccess.c \
input/misdn.c input/ipaccess.c handover_logic.c \
talloc_ctx.c system_information.c rest_octets.c \
rtp_proxy.c bts_siemens_bs11.c bts_ipaccess_nanobts.c \
bts_unknown.c bsc_version.c bsc_api.c bsc_vty.c
@ -23,7 +23,7 @@ libbsc_a_SOURCES = abis_rsl.c abis_nm.c gsm_data.c gsm_04_08_utils.c \
libmsc_a_SOURCES = gsm_subscriber.c db.c \
mncc.c gsm_04_08.c gsm_04_11.c transaction.c \
token_auth.c rrlp.c gsm_04_80.c ussd.c silent_call.c \
handover_logic.c handover_decision.c meas_rep.c auth.c \
handover_decision.c meas_rep.c auth.c \
osmo_msc.c
libvty_a_SOURCES = common_vty.c

View File

@ -34,14 +34,6 @@
extern struct llist_head *subscr_bsc_active_subscriber(void);
char *subscr_name(struct gsm_subscriber *subscr)
{
if (strlen(subscr->name))
return subscr->name;
return subscr->imsi;
}
struct gsm_subscriber *subscr_get_by_tmsi(struct gsm_network *net,
u_int32_t tmsi)
{

View File

@ -112,6 +112,14 @@ static void subscr_send_paging_request(struct gsm_subscriber *subscr)
}
}
char *subscr_name(struct gsm_subscriber *subscr)
{
if (strlen(subscr->name))
return subscr->name;
return subscr->imsi;
}
struct gsm_subscriber *subscr_alloc(void)
{
struct gsm_subscriber *s;