diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:52:18 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:52:18 -0700 |
commit | c3124b66d903a43ce639e3de8e838ef39419fc4f (patch) | |
tree | 2462fa0cef618ce2e3de8e32a4753bff9de9b767 /include | |
parent | 1960dbbc79e43f33f23886c2a12e508a0350aad1 (diff) |
sim: Add special callback for reading MSISDN 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 cd2f1e38..8b5ff659 100644 --- a/include/sim.h +++ b/include/sim.h @@ -94,6 +94,10 @@ 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_msisdn_cb_t)(const struct ofono_error *error, + const struct ofono_phone_number *ph, + void *data); + typedef void (*ofono_sim_iccid_cb_t)(const struct ofono_error *error, const char *iccid, void *data); @@ -147,6 +151,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_msisdn)(struct ofono_sim *sim, + ofono_sim_msisdn_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, |