summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gsmd/usock.h2
-rw-r--r--include/libgsmd/misc.h2
-rw-r--r--include/libgsmd/phonebook.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/include/gsmd/usock.h b/include/gsmd/usock.h
index db9eac7..370553e 100644
--- a/include/gsmd/usock.h
+++ b/include/gsmd/usock.h
@@ -56,6 +56,7 @@ enum gsmd_msg_pin_type {
enum gsmd_msg_phone {
GSMD_PHONE_POWERUP = 1,
GSMD_PHONE_POWERDOWN = 2,
+ GSMD_PHONE_GET_IMSI = 3,
};
enum gsmd_msg_modem {
@@ -255,7 +256,6 @@ enum gsmd_msg_phonebook {
GSMD_PHONEBOOK_SET_STORAGE = 8,
GSMD_PHONEBOOK_RETRIEVE_READRG = 9,
GSMD_PHONEBOOK_RETRIEVE_FIND = 10,
- GSMD_PHONEBOOK_GET_IMSI = 11,
};
/* Type-of-Address, Numbering-Plan-Identification field, GSM 03.40, 9.1.2.5 */
diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h
index 165994e..554d958 100644
--- a/include/libgsmd/misc.h
+++ b/include/libgsmd/misc.h
@@ -77,5 +77,7 @@ extern int lgsm_get_subscriber_num(struct lgsm_handle *lh);
/* GPRS related functions */
/* TBD */
+/* Retrieve IMSI information */
+extern int lgsm_get_imsi(struct lgsm_handle *lh);
#endif
diff --git a/include/libgsmd/phonebook.h b/include/libgsmd/phonebook.h
index 4bcae6c..6365baf 100644
--- a/include/libgsmd/phonebook.h
+++ b/include/libgsmd/phonebook.h
@@ -99,7 +99,4 @@ extern int lgsm_pb_retrieve_readrg(struct lgsm_handle *lh, int num);
/* Retrieve the records of FIND request */
extern int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num);
-/* Retrieve IMSI information */
-extern int lgsm_get_imsi(struct lgsm_handle *lh); // TODO this needs to go into a SIM specific file
-
#endif
personal git repositories of Harald Welte. Your mileage may vary