summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 1d87f29b50..a0c6d66541 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3953,7 +3953,10 @@ bool tagcache_is_initialized(void)
3953{ 3953{
3954 return tc_stat.initialized; 3954 return tc_stat.initialized;
3955} 3955}
3956 3956bool tagcache_is_usable(void)
3957{
3958 return tc_stat.initialized && tc_stat.ready;
3959}
3957int tagcache_get_commit_step(void) 3960int tagcache_get_commit_step(void)
3958{ 3961{
3959 return tc_stat.commit_step; 3962 return tc_stat.commit_step;