summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-07-10 16:22:03 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-07-10 16:22:03 +0000
commit9cd5c3e1195d872cbac2e8744bac5430490f6636 (patch)
tree8e70af5786bf38379333c38f63bea6e379f01b07 /firmware/common
parentdae39989db4809d02cb4f6743c5f152a78ea0f8b (diff)
downloadrockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.zip
rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.tar.gz
rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.tar.bz2
rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.tar.xz
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
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/dircache.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index e1b592f..7599c1b 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -690,6 +690,14 @@ bool dircache_is_enabled(void)
}
/**
+ * 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.
*/
int dircache_get_entry_count(void)