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/dircache.h | |
parent | c1ae789108942f3270fb90bd5a088adfee126333 (diff) |
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/dircache.h')
-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); int dircache_get_reserve_used(void); int dircache_get_build_ticks(void); void dircache_disable(void); +void dircache_suspend(void); +bool dircache_resume(void); int dircache_get_entry_id(const char *filename); size_t dircache_copy_path(int index, char *buf, size_t size); |