diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-02-07 12:19:14 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-07 12:25:46 -0600 |
commit | 417b445eaf0a4d8bcff59fb93e865e83c7d92b78 (patch) | |
tree | dd8e200fafe05916f31ef894a670eef9f43978c2 /src/simfs.h | |
parent | 00a3a6d7ac74456445715f7b881bce4e658d9390 (diff) | |
download | ofono-417b445eaf0a4d8bcff59fb93e865e83c7d92b78.tar.bz2 |
simfs: Add file changed watches to simfs contexts
Diffstat (limited to 'src/simfs.h')
-rw-r--r-- | src/simfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/simfs.h b/src/simfs.h index d93d96e8..d6bda5eb 100644 --- a/src/simfs.h +++ b/src/simfs.h @@ -29,6 +29,13 @@ 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); +unsigned int sim_fs_file_watch_add(struct ofono_sim_context *context, + int id, ofono_sim_file_changed_cb_t cb, + void *userdata, + ofono_destroy_func destroy); +void sim_fs_file_watch_remove(struct ofono_sim_context *context, + unsigned int id); + int sim_fs_read(struct ofono_sim_context *context, int id, enum ofono_sim_file_structure expected_type, unsigned short offset, unsigned short num_bytes, |