diff options
Diffstat (limited to 'firmware/include/dircache.h')
-rw-r--r-- | firmware/include/dircache.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 9c3bc68ddc..1483843a73 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h | |||
@@ -25,7 +25,8 @@ | |||
25 | 25 | ||
26 | #define DIRCACHE_RESERVE (1024*64) | 26 | #define DIRCACHE_RESERVE (1024*64) |
27 | #define DIRCACHE_LIMIT (1024*1024*6) | 27 | #define DIRCACHE_LIMIT (1024*1024*6) |
28 | #define DIRCACHE_FILE ROCKBOX_DIR "/dircache.dat" | 28 | /* FIXME: We should use ROCKBOX_DIR here but it's defined in apps/ */ |
29 | #define DIRCACHE_FILE "/.rockbox/dircache.dat" | ||
29 | 30 | ||
30 | /* Internal structures. */ | 31 | /* Internal structures. */ |
31 | struct travel_data { | 32 | struct travel_data { |
@@ -80,8 +81,8 @@ typedef struct { | |||
80 | } DIRCACHED; | 81 | } DIRCACHED; |
81 | 82 | ||
82 | void dircache_init(void); | 83 | void dircache_init(void); |
83 | int dircache_load(const char *path); | 84 | int dircache_load(void); |
84 | int dircache_save(const char *path); | 85 | int dircache_save(void); |
85 | int dircache_build(int last_size); | 86 | int dircache_build(int last_size); |
86 | void* dircache_steal_buffer(long *size); | 87 | void* dircache_steal_buffer(long *size); |
87 | bool dircache_is_enabled(void); | 88 | bool dircache_is_enabled(void); |