diff options
Diffstat (limited to 'firmware/include/dircache.h')
-rw-r--r-- | firmware/include/dircache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 512fcb1833..6e75e1bfeb 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h | |||
@@ -41,6 +41,7 @@ struct travel_data { | |||
41 | struct dircache_maindata { | 41 | struct dircache_maindata { |
42 | long magic; | 42 | long magic; |
43 | long size; | 43 | long size; |
44 | long entry_count; | ||
44 | struct dircache_entry *root_entry; | 45 | struct dircache_entry *root_entry; |
45 | }; | 46 | }; |
46 | 47 | ||
@@ -61,6 +62,7 @@ struct dircache_entry { | |||
61 | typedef struct { | 62 | typedef struct { |
62 | bool busy; | 63 | bool busy; |
63 | struct dircache_entry *entry; | 64 | struct dircache_entry *entry; |
65 | struct dircache_entry *internal_entry; | ||
64 | struct dircache_entry secondary_entry; | 66 | struct dircache_entry secondary_entry; |
65 | DIR *regulardir; | 67 | DIR *regulardir; |
66 | } DIRCACHED; | 68 | } DIRCACHED; |
@@ -70,6 +72,7 @@ int dircache_load(const char *path); | |||
70 | int dircache_save(const char *path); | 72 | int dircache_save(const char *path); |
71 | int dircache_build(int last_size); | 73 | int dircache_build(int last_size); |
72 | bool dircache_is_enabled(void); | 74 | bool dircache_is_enabled(void); |
75 | int dircache_get_entry_count(void); | ||
73 | int dircache_get_cache_size(void); | 76 | int dircache_get_cache_size(void); |
74 | int dircache_get_reserve_used(void); | 77 | int dircache_get_reserve_used(void); |
75 | int dircache_get_build_ticks(void); | 78 | int dircache_get_build_ticks(void); |