summaryrefslogtreecommitdiff
path: root/apps/tagcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 70677c602b..3d80c6975f 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -63,6 +63,11 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
63/* Always strict align entries for best performance and binary compatability. */ 63/* Always strict align entries for best performance and binary compatability. */
64#define TAGCACHE_STRICT_ALIGN 1 64#define TAGCACHE_STRICT_ALIGN 1
65 65
66/* Max events in the internal tagcache command queue. */
67#define TAGCACHE_COMMAND_QUEUE_LENGTH 32
68/* Idle time before committing events in the command queue. */
69#define TAGCACHE_COMMAND_QUEUE_COMMIT_DELAY HZ*2
70
66#define TAGCACHE_MAX_FILTERS 4 71#define TAGCACHE_MAX_FILTERS 4
67#define TAGCACHE_MAX_CLAUSES 32 72#define TAGCACHE_MAX_CLAUSES 32
68 73
@@ -170,6 +175,7 @@ long tagcache_increase_serial(void);
170long tagcache_get_serial(void); 175long tagcache_get_serial(void);
171bool tagcache_import_changelog(void); 176bool tagcache_import_changelog(void);
172bool tagcache_create_changelog(struct tagcache_search *tcs); 177bool tagcache_create_changelog(struct tagcache_search *tcs);
178void tagcache_update_numeric(int idx_id, int tag, long data);
173bool tagcache_modify_numeric_entry(struct tagcache_search *tcs, 179bool tagcache_modify_numeric_entry(struct tagcache_search *tcs,
174 int tag, long data); 180 int tag, long data);
175 181