aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-02-09 23:39:20 +0000
committerHolger Freyther <zecke@selfish.org>2009-02-09 23:39:20 +0000
commit9c564b85e65623ab99a3c3ba7c490740592bd149 (patch)
tree0b5323b103d82e5962b5844b7dfa02f38c7debc8 /include/openbsc/gsm_subscriber.h
parentcbc7b065345d41e077069bcee1519b8557f70fed (diff)
introduce lookup of subscribers based on their extension number
Diffstat (limited to 'include/openbsc/gsm_subscriber.h')
-rw-r--r--include/openbsc/gsm_subscriber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openbsc/gsm_subscriber.h b/include/openbsc/gsm_subscriber.h
index 8dcde3e5..e0c621bf 100644
--- a/include/openbsc/gsm_subscriber.h
+++ b/include/openbsc/gsm_subscriber.h
@@ -28,12 +28,14 @@ struct gsm_subscriber {
enum gsm_subscriber_field {
GSM_SUBSCRIBER_IMSI,
GSM_SUBSCRIBER_TMSI,
+ GSM_SUBSCRIBER_EXTENSION,
};
struct gsm_subscriber *subscr_get(struct gsm_subscriber *subscr);
struct gsm_subscriber *subscr_put(struct gsm_subscriber *subscr);
struct gsm_subscriber *subscr_get_by_tmsi(const char *tmsi);
struct gsm_subscriber *subscr_get_by_imsi(const char *imsi);
+struct gsm_subscriber *subscr_get_by_extension(const char *ext);
int subscr_update(struct gsm_subscriber *s, struct gsm_bts *bts);
/* internal */