diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-30 15:06:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-29 13:23:54 +0200 |
commit | 28b715dfff8067b45822130b816cd50d95a9b61b (patch) | |
tree | d72734bb1c2b73459dd74d8f2e0951b1b7ea1608 /openbsc/include/openbsc/gsm_subscriber.h | |
parent | d9c19a0332119c5d1ac32d6b8d2c9534e83bcebc (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 */ |