summaryrefslogtreecommitdiff
path: root/firmware/include/dircache.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/dircache.h')
-rw-r--r--firmware/include/dircache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h
index 48b74e0220..11d7335a31 100644
--- a/firmware/include/dircache.h
+++ b/firmware/include/dircache.h
@@ -47,6 +47,7 @@ struct dircache_maindata {
47/* Exported structures. */ 47/* Exported structures. */
48struct dircache_entry { 48struct dircache_entry {
49 struct dircache_entry *next; 49 struct dircache_entry *next;
50 struct dircache_entry *up;
50 struct dircache_entry *down; 51 struct dircache_entry *down;
51 int attribute; 52 int attribute;
52 long size; 53 long size;
@@ -71,6 +72,8 @@ int dircache_build(int last_size);
71bool dircache_is_enabled(void); 72bool dircache_is_enabled(void);
72int dircache_get_cache_size(void); 73int dircache_get_cache_size(void);
73void dircache_disable(void); 74void dircache_disable(void);
75const struct dircache_entry *dircache_get_entry_ptr(const char *filename);
76void dircache_copy_path(const struct dircache_entry *entry, char *buf, int size);
74 77
75void dircache_bind(int fd, const char *path); 78void dircache_bind(int fd, const char *path);
76void dircache_update_filesize(int fd, long newsize); 79void dircache_update_filesize(int fd, long newsize);