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.tar.gz
rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.zip
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 e1b592f005..7599c1b6c5 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -690,6 +690,14 @@ bool dircache_is_enabled(void)
690} 690}
691 691
692/** 692/**
693 * Returns true if dircache is being initialized.
694 */
695bool dircache_is_initializing(void)
696{
697 return dircache_initializing;
698}
699
700/**
693 * Returns the current number of entries (directories and files) in the cache. 701 * Returns the current number of entries (directories and files) in the cache.
694 */ 702 */
695int dircache_get_entry_count(void) 703int dircache_get_entry_count(void)