summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-22 09:38:34 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-11-22 10:26:34 -0600
commit3f79ed2bf0eb4589573b775645692ea9e89cf241 (patch)
treea6e64322506ebe349359230f141252554b5c46e6 /include
parent74deff6b1db790cf56c2f033147c95de4665a4a1 (diff)
include: Add path and path_len arguments
The CRSM command has an additional parameter called pathlen which can be used to specify the path of the elementary file outside the well-known path range.
Diffstat (limited to 'include')
-rw-r--r--include/sim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h
index 48787bb8..3a60aa70 100644
--- a/include/sim.h
+++ b/include/sim.h
@@ -126,24 +126,31 @@ struct ofono_sim_driver {
int (*probe)(struct ofono_sim *sim, unsigned int vendor, void *data);
void (*remove)(struct ofono_sim *sim);
void (*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);
void (*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);
void (*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);
void (*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);
void (*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);
void (*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);
void (*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);
void (*read_imsi)(struct ofono_sim *sim,
ofono_sim_imsi_cb_t cb, void *data);