diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 21:30:28 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 21:30:28 -0700 |
commit | 5522df64fac7b57d3d9db2272fc9be97c8815b94 (patch) | |
tree | 40ac4fcae3b43af99290262490bc578eaa256be3 /include | |
parent | c3124b66d903a43ce639e3de8e838ef39419fc4f (diff) |
sim: Add special callback for reading MCC and MNC value
Diffstat (limited to 'include')
-rw-r--r-- | include/sim.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h index 8b5ff659..3e135640 100644 --- a/include/sim.h +++ b/include/sim.h @@ -104,6 +104,10 @@ typedef void (*ofono_sim_iccid_cb_t)(const struct ofono_error *error, typedef void (*ofono_sim_imsi_cb_t)(const struct ofono_error *error, const char *imsi, void *data); +typedef void (*ofono_sim_mccmnc_cb_t)(const struct ofono_error *error, + const char *mcc, const char *mnc, + void *data); + typedef void (*ofono_sim_state_event_cb_t)(enum ofono_sim_state new_state, void *data); @@ -157,6 +161,8 @@ struct ofono_sim_driver { ofono_sim_iccid_cb_t cb, void *data); void (*read_imsi)(struct ofono_sim *sim, ofono_sim_imsi_cb_t cb, void *data); + void (*read_mccmnc)(struct ofono_sim *sim, + ofono_sim_mccmnc_cb_t cb, void *data); void (*query_passwd_state)(struct ofono_sim *sim, ofono_sim_passwd_cb_t cb, void *data); void (*send_passwd)(struct ofono_sim *sim, const char *passwd, |