diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 21:07:46 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 21:07:46 +0000 |
commit | 7e14b935dfdcd808cfb0703d19a43efd11eeef16 (patch) | |
tree | 57834f71db1bbaaabf7872d8609f8254371377cf /firmware/include | |
parent | c1ae789108942f3270fb90bd5a088adfee126333 (diff) | |
download | rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.tar.gz rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.zip |
Dircache: Allow dircache to be enabled without reboot.
Also add two dircache function, one of which does what dircache_disable()
did previously as this now also frees the dircache buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30393 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r-- | firmware/include/dircache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 6beeeb6c23..019ccf49b7 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h | |||
@@ -76,6 +76,8 @@ int dircache_get_cache_size(void); | |||
76 | int dircache_get_reserve_used(void); | 76 | int dircache_get_reserve_used(void); |
77 | int dircache_get_build_ticks(void); | 77 | int dircache_get_build_ticks(void); |
78 | void dircache_disable(void); | 78 | void dircache_disable(void); |
79 | void dircache_suspend(void); | ||
80 | bool dircache_resume(void); | ||
79 | int dircache_get_entry_id(const char *filename); | 81 | int dircache_get_entry_id(const char *filename); |
80 | size_t dircache_copy_path(int index, char *buf, size_t size); | 82 | size_t dircache_copy_path(int index, char *buf, size_t size); |
81 | 83 | ||