From 9cd5c3e1195d872cbac2e8744bac5430490f6636 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Mon, 10 Jul 2006 16:22:03 +0000 Subject: Tagcache update: Support removal of entries and no longer the need for dircache to load tagcache in ram (however, dircache with tagcache is still strongly recommended). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/dircache.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware/common') diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index e1b592f005..7599c1b6c5 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c @@ -689,6 +689,14 @@ bool dircache_is_enabled(void) return dircache_initialized; } +/** + * Returns true if dircache is being initialized. + */ +bool dircache_is_initializing(void) +{ + return dircache_initializing; +} + /** * Returns the current number of entries (directories and files) in the cache. */ -- cgit v1.2.3