summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-03-29 09:38:45 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-03-29 09:38:45 +0000
commit6ce466ea2c3b0a4f07f6c64e34b3be72a92c08e8 (patch)
tree967f9e793b572548c8d7ae7d6fe8cbdce4bbf1b1 /firmware/include
parent029ff8023576a5d86e40b9425123b6de6b5fce66 (diff)
More safety checks to dircache to block updates until cache is ready.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9339 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dircache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h
index 48f29806e3..4141254de6 100644
--- a/firmware/include/dircache.h
+++ b/firmware/include/dircache.h
@@ -46,6 +46,12 @@ struct dircache_maindata {
struct dircache_entry *root_entry;
};
+#define MAX_PENDING_BINDINGS 2
+struct fdbind_queue {
+ char path[MAX_PATH];
+ int fd;
+};
+
/* Exported structures. */
struct dircache_entry {
struct dircache_entry *next;