diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2010-01-07 12:38:47 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-12 10:35:51 -0600 |
commit | 637ca18af429ff6a9e73f71e23b3a12ce62c298c (patch) | |
tree | 81dc84c4ee2d4e66e221bb757463bf9d744866ab /include/sim.h | |
parent | 8f99e50ce5a42c143999a083a2b8ca5b2d30f53c (diff) | |
download | ofono-637ca18af429ff6a9e73f71e23b3a12ce62c298c.tar.bz2 |
Retrieve CPHS phase (if any) from SIM.
Diffstat (limited to 'include/sim.h')
-rw-r--r-- | include/sim.h | 9 |
1 files changed, 9 insertions, 0 deletions
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); |