summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-10-15 11:01:18 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-10-15 11:01:18 +0000
commitb89b5ba2ee31bd351710670cf5ecc5aa8beb95f3 (patch)
tree67fa9676aed7cfca7048bc40e60f71e87007149f /apps/tagcache.h
parenta7acf1351f3088c0d509e87d84db95d38fed788c (diff)
downloadrockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.tar.gz
rockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.tar.bz2
rockbox-b89b5ba2ee31bd351710670cf5ecc5aa8beb95f3.zip
(1) New syntax to support conditional formatting.
(2) Reduced tagnavi memory consumption. (3) There was a bug that splash screen counter was counting down when inserting tracks next. But in fact that might be preferred, so always count down after successful tagcache query. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11223 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index f2694cea1b..37423e63c8 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -98,7 +98,7 @@ struct tagcache_search_clause
bool numeric;
bool input;
long numeric_data;
- char str[128];
+ char *str;
};
struct tagcache_search {
@@ -139,6 +139,8 @@ bool tagcache_is_numeric_tag(int type);
bool tagcache_is_unique_tag(int type);
bool tagcache_is_sorted_tag(int type);
bool tagcache_find_index(struct tagcache_search *tcs, const char *filename);
+bool tagcache_check_clauses(struct tagcache_search *tcs,
+ struct tagcache_search_clause **clause, int count);
bool tagcache_search(struct tagcache_search *tcs, int tag);
void tagcache_search_set_uniqbuf(struct tagcache_search *tcs,
void *buffer, long length);