summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/settings.h
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-10-14 07:37:52 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-10-14 07:37:52 +0000
commit1dd14c0b26e0427f63b36eb5aeb259e1cfb4f8e9 (patch)
treebefef2999aa6c4766619f0706e31dfdd452f1c13 /src/host/layer23/include/osmocom/bb/mobile/settings.h
parent513972c37df253187b49c9cbea2263a095d2383b (diff)
[layer23] Adding abbreviated dialing to VTY
It is possible to store phone numbers with abbreviations now. Dialing these abbreviation makes testing of mobile originated calls much easier too.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/settings.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h
index 24379514..88649e36 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -67,9 +67,20 @@ struct gsm_settings {
/* radio */
uint16_t dsc_max;
+
+ /* dialing */
+ struct llist_head abbrev;
+};
+
+struct gsm_settings_abbrev {
+ struct llist_head list;
+ char abbrev[4];
+ char number[32];
+ char name[32];
};
int gsm_settings_init(struct osmocom_ms *ms);
+int gsm_settings_exit(struct osmocom_ms *ms);
char *gsm_check_imei(const char *imei, const char *sv);
int gsm_random_imei(struct gsm_settings *set);