aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-04 08:35:11 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-13 13:44:54 +0200
commit7634ec1de178f8bf0459973b0e863a6dc9949762 (patch)
tree3191458c92dd10b74e193218d8f499fcc8edebc3 /openbsc/include/openbsc/gsm_subscriber.h
parent0c48fc7c62e947f2934f7bfe10f2d01cbc0349c1 (diff)
db: Remove the struct gsm_network from the database layer
The database code should not know about the network. Move the setting of the network pointer into the subscriber layer.
Diffstat (limited to 'openbsc/include/openbsc/gsm_subscriber.h')
-rw-r--r--openbsc/include/openbsc/gsm_subscriber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h
index 6b577b0bf..7aae4c332 100644
--- a/openbsc/include/openbsc/gsm_subscriber.h
+++ b/openbsc/include/openbsc/gsm_subscriber.h
@@ -73,6 +73,8 @@ enum gsm_subscriber_update_reason {
struct gsm_subscriber *subscr_get(struct gsm_subscriber *subscr);
struct gsm_subscriber *subscr_put(struct gsm_subscriber *subscr);
+struct gsm_subscriber *subscr_create_subscriber(struct gsm_network *net,
+ const char *imsi);
struct gsm_subscriber *subscr_get_by_tmsi(struct gsm_network *net,
uint32_t tmsi);
struct gsm_subscriber *subscr_get_by_imsi(struct gsm_network *net,