summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/subscriber.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-05-09 18:01:49 +0200
committerAndreas.Eversberg2010-05-09 18:01:49 +0200
commit3928d757f043f493be4370e290803771b35d73b1 (patch)
tree6b9c34dd7e9919c740b29dfa7f8c647e8acb8d7e /src/host/layer23/include/osmocom/subscriber.h
parentAdded SI3 rest octets to RR layer. Now a cell can be qualified: (diff)
downloadosmocom-3928d757f043f493be4370e290803771b35d73b1.tar.gz
osmocom-3928d757f043f493be4370e290803771b35d73b1.tar.xz
osmocom-3928d757f043f493be4370e290803771b35d73b1.zip
Added vty interface (taken from OpenBSC project).
It is now possible to show informations about: - mobile - subscriber - received cell informations Later it can be used to do configurations (phone's menu) and trigger events, like dialing a phone number.
Diffstat (limited to 'src/host/layer23/include/osmocom/subscriber.h')
-rw-r--r--src/host/layer23/include/osmocom/subscriber.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/subscriber.h b/src/host/layer23/include/osmocom/subscriber.h
index 7f0e335..0091cb2 100644
--- a/src/host/layer23/include/osmocom/subscriber.h
+++ b/src/host/layer23/include/osmocom/subscriber.h
@@ -68,6 +68,14 @@ int gsm_subscr_exit(struct osmocom_ms *ms);
int gsm_subscr_testcard(struct osmocom_ms *ms, int mcc, int mnc, char *msin);
int gsm_subscr_remove(struct osmocom_ms *ms);
void new_sim_ustate(struct gsm_subscriber *subscr, int state);
+int gsm_subscr_del_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,
+ uint16_t mnc);
+int gsm_subscr_add_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,
+ uint16_t mnc, uint8_t cause);
+int gsm_subscr_is_forbidden_plmn(struct gsm_subscriber *subscr, uint16_t mcc,
+ uint16_t mnc);
+void gsm_subscr_dump(struct gsm_subscriber *subscr,
+ void (*print)(void *, const char *, ...), void *priv);
#endif /* _SUBSCRIBER_H */