summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h
index 508ff249..cd2f1e38 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -94,6 +94,9 @@ typedef void (*ofono_sim_read_cb_t)(const struct ofono_error *error,
typedef void (*ofono_sim_write_cb_t)(const struct ofono_error *error,
void *data);
+typedef void (*ofono_sim_iccid_cb_t)(const struct ofono_error *error,
+ const char *iccid, void *data);
+
typedef void (*ofono_sim_imsi_cb_t)(const struct ofono_error *error,
const char *imsi, void *data);
@@ -144,6 +147,8 @@ struct ofono_sim_driver {
void (*write_file_cyclic)(struct ofono_sim *sim, int fileid,
int length, const unsigned char *value,
ofono_sim_write_cb_t cb, void *data);
+ void (*read_iccid)(struct ofono_sim *sim,
+ ofono_sim_iccid_cb_t cb, void *data);
void (*read_imsi)(struct ofono_sim *sim,
ofono_sim_imsi_cb_t cb, void *data);
void (*query_passwd_state)(struct ofono_sim *sim,