diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-27 08:24:57 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-27 08:24:57 +0000 |
commit | ed45d021e84b497e75ff4342ad369c615cc174a3 (patch) | |
tree | 48da3b00a6f6c55e523ee9724b24eb3e7720a802 /include | |
parent | a78ac8ad867bb77c6bce88e66879e7afa8474301 (diff) |
gsmd: Refactorying get_imsi from PHONEBOOK to PHONE (tick)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3519 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'include')
-rw-r--r-- | include/gsmd/usock.h | 2 | ||||
-rw-r--r-- | include/libgsmd/misc.h | 2 | ||||
-rw-r--r-- | include/libgsmd/phonebook.h | 3 |
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 |