From b97399ce127d59a896fd7c784c613d8044a2c010 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 7 Feb 2011 13:35:04 -0600 Subject: simfs: Add function to notify all file watches --- src/simfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/simfs.h') diff --git a/src/simfs.h b/src/simfs.h index d6bda5eb..25767ead 100644 --- a/src/simfs.h +++ b/src/simfs.h @@ -36,6 +36,9 @@ unsigned int sim_fs_file_watch_add(struct ofono_sim_context *context, void sim_fs_file_watch_remove(struct ofono_sim_context *context, unsigned int id); +/* Id of -1 notifies all watches, serving as a wildcard */ +void sim_fs_notify_file_watches(struct sim_fs *fs, 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, -- cgit v1.2.3