diff options
author | James Prestwood <james.prestwood@linux.intel.com> | 2017-11-06 13:07:38 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2017-11-06 16:12:19 -0600 |
commit | f972ba88f1bd570c0b511f90c249816029ca701a (patch) | |
tree | a169d73485f8239909efa1e250b7eb77a8d08a1c /src/simfs.h | |
parent | 0d5faa5adfed1d32d4888793046c411eb35857ed (diff) | |
download | ofono-f972ba88f1bd570c0b511f90c249816029ca701a.tar.gz |
simfs: read files from specific AID's
The simfs atom could not read EF's that did not exist on the
'default' ADF directory. This implements a new way to read EF's
that exist on a given AID. A new fs object/context can be
initialized for a given AID. Using this fs context with
the existing read file API will read from that AID rather than
the default ADF.
Diffstat (limited to 'src/simfs.h')
-rw-r--r-- | src/simfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simfs.h b/src/simfs.h index bb3ab0fd..39af6a37 100644 --- a/src/simfs.h +++ b/src/simfs.h @@ -29,6 +29,9 @@ struct sim_fs *sim_fs_new(struct ofono_sim *sim, const struct ofono_sim_driver *driver); struct ofono_sim_context *sim_fs_context_new(struct sim_fs *fs); +struct ofono_sim_context *sim_fs_context_new_with_aid(struct sim_fs *fs, + unsigned char *aid); + unsigned int sim_fs_file_watch_add(struct ofono_sim_context *context, int id, ofono_sim_file_changed_cb_t cb, void *userdata, |