From 7e14b935dfdcd808cfb0703d19a43efd11eeef16 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 30 Aug 2011 21:07:46 +0000 Subject: 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 --- firmware/include/dircache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/include') 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); -- cgit v1.2.3