aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-06-08 18:47:04 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-06-16 15:53:51 +0200
commit1b43095c31ff7d3e30547fbd5b053775cf3c331f (patch)
tree4aa53884749bfe71ede232dc77bd719717d72aed
parentd0fbecd4b5d91a059f78ba2e9f43f833943858e7 (diff)
extract_sub
-rw-r--r--include/osmocom/bsc/osmo_bsc.h2
-rw-r--r--src/osmo-bsc/osmo_bsc_filter.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/osmocom/bsc/osmo_bsc.h b/include/osmocom/bsc/osmo_bsc.h
index ed5698db4..81b43e2c7 100644
--- a/include/osmocom/bsc/osmo_bsc.h
+++ b/include/osmocom/bsc/osmo_bsc.h
@@ -39,4 +39,6 @@ void bsc_gen_location_state_trap(struct gsm_bts *bts);
struct llist_head *bsc_access_lists(void);
+struct bsc_subscr *extract_sub(struct gsm_subscriber_connection *conn, struct msgb *msg);
+
#endif
diff --git a/src/osmo-bsc/osmo_bsc_filter.c b/src/osmo-bsc/osmo_bsc_filter.c
index 0d0fc29c6..9eddfbbd9 100644
--- a/src/osmo-bsc/osmo_bsc_filter.c
+++ b/src/osmo-bsc/osmo_bsc_filter.c
@@ -54,8 +54,7 @@ static void handle_lu_request(struct gsm_subscriber_connection *conn,
}
/* extract a subscriber from the paging response */
-static struct bsc_subscr *extract_sub(struct gsm_subscriber_connection *conn,
- struct msgb *msg)
+struct bsc_subscr *extract_sub(struct gsm_subscriber_connection *conn, struct msgb *msg)
{
uint8_t mi_type;
char mi_string[GSM48_MI_SIZE];