aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-30 15:06:55 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-09-29 13:23:54 +0200
commit28b715dfff8067b45822130b816cd50d95a9b61b (patch)
treed72734bb1c2b73459dd74d8f2e0951b1b7ea1608 /openbsc/include
parentd9c19a0332119c5d1ac32d6b8d2c9534e83bcebc (diff)
move subscr auth check to gsm_subscriber.c
add subscr_authorized(), subscr_authorized_imsi() Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_subscriber.h3
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
*/