diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-10 16:22:03 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-10 16:22:03 +0000 |
commit | 9cd5c3e1195d872cbac2e8744bac5430490f6636 (patch) | |
tree | 8e70af5786bf38379333c38f63bea6e379f01b07 /firmware/common | |
parent | dae39989db4809d02cb4f6743c5f152a78ea0f8b (diff) | |
download | rockbox-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.c | 8 |
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 | */ | ||
695 | bool 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 | */ |
695 | int dircache_get_entry_count(void) | 703 | int dircache_get_entry_count(void) |