diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-30 15:06:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-12 16:05:05 +0100 |
commit | 3f7958f08b05d251ecbc88ac2988650308e23f3b (patch) | |
tree | 34f825d23f02673878cdc9c8b05cf43beabd49ea /openbsc/include/openbsc/gsm_subscriber.h | |
parent | c8f00fa50d8b2d79160611625c651543f382d125 (diff) |
move subscr auth check to gsm_subscriber.c
add subscr_authorized(), subscr_authorized_imsi()
Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb
Diffstat (limited to 'openbsc/include/openbsc/gsm_subscriber.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_subscriber.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_subscriber.h b/openbsc/include/openbsc/gsm_subscriber.h index 7c4a0205f..6fe3cf9b0 100644 --- a/openbsc/include/openbsc/gsm_subscriber.h +++ b/openbsc/include/openbsc/gsm_subscriber.h @@ -131,6 +131,9 @@ void subscr_update_from_db(struct gsm_subscriber *subscr); void subscr_expire(struct gsm_subscriber_group *sgrp); int subscr_update_expire_lu(struct gsm_subscriber *subscr); +bool subscr_authorized_imsi(const struct gsm_network *net, const char *imsi); +bool subscr_authorized(struct gsm_subscriber *subsc); + /* * Paging handling with authentication */ |