From 637ca18af429ff6a9e73f71e23b3a12ce62c298c Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Thu, 7 Jan 2010 12:38:47 +0100 Subject: Retrieve CPHS phase (if any) from SIM. --- include/sim.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/sim.h') diff --git a/include/sim.h b/include/sim.h index 07059a0f..65ba6561 100644 --- a/include/sim.h +++ b/include/sim.h @@ -65,6 +65,12 @@ enum ofono_sim_phase { OFONO_SIM_PHASE_UNKNOWN, }; +enum ofono_sim_cphs_phase { + OFONO_SIM_CPHS_NONE, + OFONO_SIM_CPHS_PHASE1, + OFONO_SIM_CPHS_PHASE2, +}; + typedef void (*ofono_sim_file_info_cb_t)(const struct ofono_error *error, int filelength, enum ofono_sim_file_structure structure, @@ -164,6 +170,9 @@ 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); +enum ofono_sim_cphs_phase ofono_sim_get_cphs_phase(struct ofono_sim *sim); +unsigned short ofono_sim_get_cphs_support(struct ofono_sim *sim); + unsigned int ofono_sim_add_ready_watch(struct ofono_sim *sim, ofono_sim_ready_notify_cb_t cb, void *data, ofono_destroy_func destroy); -- cgit v1.2.3