From 6451d012ec0dd103feca553f3c58f6788b12bb70 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 22 Nov 2012 09:39:37 -0600 Subject: [PATCH] isimodem: Update sim driver to the new API --- drivers/isimodem/sim.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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);