diff options
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/driver.h b/src/driver.h index 2625aa80..1101c088 100644 --- a/src/driver.h +++ b/src/driver.h @@ -56,13 +56,6 @@ struct ofono_network_operator { int tech; }; -/* 51.011 Section 9.3 */ -enum ofono_sim_file_structure { - OFONO_SIM_FILE_STRUCTURE_TRANSPARENT = 0, - OFONO_SIM_FILE_STRUCTURE_FIXED = 1, - OFONO_SIM_FILE_STRUCTURE_CYCLIC = 3 -}; - /* Notification functions, the integer values here should map to * values obtained from the modem. The enumerations are the same * as the values for the fields found in 3GPP TS 27.007 @@ -97,20 +90,6 @@ typedef void (*ofono_signal_strength_cb_t)(const struct ofono_error *error, typedef void (*ofono_modem_attribute_query_cb_t)(const struct ofono_error *error, const char *attribute, void *data); -typedef void (*ofono_sim_file_info_cb_t)(const struct ofono_error *error, - int filelength, - enum ofono_sim_file_structure structure, - int recordlength, - const unsigned char access[3], - void *data); - -typedef void (*ofono_sim_read_cb_t)(const struct ofono_error *error, - const unsigned char *sdata, int length, - void *data); - -typedef void (*ofono_imsi_cb_t)(const struct ofono_error *error, - const char *imsi, void *data); - struct ofono_modem_attribute_ops { void (*query_manufacturer)(struct ofono_modem *modem, ofono_modem_attribute_query_cb_t cb, void *data); @@ -206,32 +185,3 @@ void ofono_voicecall_disconnected(struct ofono_modem *modem, int id, int ofono_voicecall_register(struct ofono_modem *modem, struct ofono_voicecall_ops *ops); void ofono_voicecall_unregister(struct ofono_modem *modem); -struct ofono_sim_ops { - void (*read_file_info)(struct ofono_modem *modem, int fileid, - ofono_sim_file_info_cb_t cb, void *data); - void (*read_file_transparent)(struct ofono_modem *modem, int fileid, - int start, int length, - ofono_sim_read_cb_t cb, void *data); - void (*read_file_linear)(struct ofono_modem *modem, int fileid, - int record, int length, - ofono_sim_read_cb_t cb, void *data); - void (*read_file_cyclic)(struct ofono_modem *modem, int fileid, - int record, int length, - ofono_sim_read_cb_t cb, void *data); - void (*write_file_transparent)(struct ofono_modem *modem, int fileid, - int start, int length, const unsigned char *value, - ofono_generic_cb_t cb, void *data); - void (*write_file_linear)(struct ofono_modem *modem, int fileid, - int record, int length, const unsigned char *value, - ofono_generic_cb_t cb, void *data); - void (*write_file_cyclic)(struct ofono_modem *modem, int fileid, - int length, const unsigned char *value, - ofono_generic_cb_t cb, void *data); - void (*read_imsi)(struct ofono_modem *modem, - ofono_imsi_cb_t cb, void *data); -}; - -int ofono_sim_manager_register(struct ofono_modem *modem, - struct ofono_sim_ops *ops); -void ofono_sim_manager_unregister(struct ofono_modem *modem); - |