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.h7
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. */
31struct travel_data { 32struct travel_data {
@@ -80,8 +81,8 @@ typedef struct {
80} DIRCACHED; 81} DIRCACHED;
81 82
82void dircache_init(void); 83void dircache_init(void);
83int dircache_load(const char *path); 84int dircache_load(void);
84int dircache_save(const char *path); 85int dircache_save(void);
85int dircache_build(int last_size); 86int dircache_build(int last_size);
86void* dircache_steal_buffer(long *size); 87void* dircache_steal_buffer(long *size);
87bool dircache_is_enabled(void); 88bool dircache_is_enabled(void);