aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-01-04 03:47:05 +0000
committerHolger Freyther <zecke@selfish.org>2009-01-04 03:47:05 +0000
commita471a416807ee772b6d4c3437b8c306a35a6e89b (patch)
treedf022156a76fda91fad0406d9f0b9f781b55900e /include/openbsc/gsm_subscriber.h
parentae61cae9b24f44ac32cea4109ad89bf58bad4475 (diff)
Define the gsm_subscriber getter functions in the header
Diffstat (limited to 'include/openbsc/gsm_subscriber.h')
-rw-r--r--include/openbsc/gsm_subscriber.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/openbsc/gsm_subscriber.h b/include/openbsc/gsm_subscriber.h
index 90117d3e..27726a8f 100644
--- a/include/openbsc/gsm_subscriber.h
+++ b/include/openbsc/gsm_subscriber.h
@@ -30,8 +30,12 @@ enum gsm_subscriber_field {
GSM_SUBSCRIBER_TMSI,
};
-struct gsm_subscriber *subscr_alloc();
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);
+
+/* internal */
+struct gsm_subscriber *subscr_alloc(void);
#endif /* _GSM_SUBSCR_H */