diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-11-22 09:39:37 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-11-22 10:26:34 -0600 |
commit | 6451d012ec0dd103feca553f3c58f6788b12bb70 (patch) | |
tree | f8a4902b799348b3fa6153f45e9217bafd03002e | |
parent | 3f79ed2bf0eb4589573b775645692ea9e89cf241 (diff) | |
download | ofono-6451d012ec0dd103feca553f3c58f6788b12bb70.tar.bz2 |
isimodem: Update sim driver to the new API
-rw-r--r-- | drivers/isimodem/sim.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/isimodem/sim.c b/drivers/isimodem/sim.c index b316391b..74c6b0d5 100644 --- a/drivers/isimodem/sim.c +++ b/drivers/isimodem/sim.c @@ -129,6 +129,8 @@ static gboolean fake_file_info(gpointer user) } static void isi_read_file_info(struct ofono_sim *sim, int fileid, + const unsigned char *path, + unsigned int path_len, ofono_sim_file_info_cb_t cb, void *data) { int i; @@ -246,6 +248,8 @@ static gboolean isi_read_iccid(struct ofono_sim *sim, struct isi_cb_data *cbd) static void isi_read_file_transparent(struct ofono_sim *sim, int fileid, int start, int length, + const unsigned char *path, + unsigned int path_len, ofono_sim_read_cb_t cb, void *data) { struct isi_cb_data *cbd; @@ -280,6 +284,8 @@ error: static void isi_read_file_linear(struct ofono_sim *sim, int fileid, int record, int length, + const unsigned char *path, + unsigned int path_len, ofono_sim_read_cb_t cb, void *data) { DBG("Fileid %04X not implemented", fileid); @@ -288,6 +294,8 @@ static void isi_read_file_linear(struct ofono_sim *sim, int fileid, static void isi_read_file_cyclic(struct ofono_sim *sim, int fileid, int record, int length, + const unsigned char *path, + unsigned int path_len, ofono_sim_read_cb_t cb, void *data) { DBG("Fileid %04X not implemented", fileid); @@ -297,6 +305,8 @@ static void isi_read_file_cyclic(struct ofono_sim *sim, int fileid, static void isi_write_file_transparent(struct ofono_sim *sim, int fileid, int start, int length, const unsigned char *value, + const unsigned char *path, + unsigned int path_len, ofono_sim_write_cb_t cb, void *data) { DBG("Fileid %04X not implemented", fileid); @@ -306,6 +316,8 @@ static void isi_write_file_transparent(struct ofono_sim *sim, int fileid, static void isi_write_file_linear(struct ofono_sim *sim, int fileid, int record, int length, const unsigned char *value, + const unsigned char *path, + unsigned int path_len, ofono_sim_write_cb_t cb, void *data) { DBG("Fileid %04X not implemented", fileid); @@ -314,6 +326,8 @@ static void isi_write_file_linear(struct ofono_sim *sim, int fileid, static void isi_write_file_cyclic(struct ofono_sim *sim, int fileid, int length, const unsigned char *value, + const unsigned char *path, + unsigned int path_len, ofono_sim_write_cb_t cb, void *data) { DBG("Fileid %04X not implemented", fileid); |