summaryrefslogtreecommitdiffstats
path: root/include/sim.h
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2009-12-19 02:49:21 +0100
committerDenis Kenzior <denkenz@gmail.com>2010-01-06 13:14:20 -0600
commitb4c3e1c1cc3362d4164da36760d21aa65fddf410 (patch)
tree1ee9f31a68e77e3a923d80a53d28995c6afc748b /include/sim.h
parent436c2a7c638e5fa62b2183c8282375aeac436b71 (diff)
downloadofono-b4c3e1c1cc3362d4164da36760d21aa65fddf410.tar.bz2
Index SIM cache by phase also.
Diffstat (limited to 'include/sim.h')
-rw-r--r--include/sim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h
index bf13a8e2..3189f123 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -57,6 +57,12 @@ enum ofono_sim_password_type {
OFONO_SIM_PASSWORD_INVALID,
};
+enum ofono_sim_phase {
+ OFONO_SIM_PHASE_G1,
+ OFONO_SIM_PHASE_G2,
+ OFONO_SIM_PHASE_G3,
+};
+
typedef void (*ofono_sim_file_info_cb_t)(const struct ofono_error *error,
int filelength,
enum ofono_sim_file_structure structure,
@@ -154,6 +160,7 @@ void ofono_sim_set_data(struct ofono_sim *sim, void *data);
void *ofono_sim_get_data(struct ofono_sim *sim);
const char *ofono_sim_get_imsi(struct ofono_sim *sim);
+enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim);
unsigned int ofono_sim_add_ready_watch(struct ofono_sim *sim,
ofono_sim_ready_notify_cb_t cb,