diff options
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r-- | apps/tagcache.h | 6 |
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); | |||
170 | long tagcache_get_serial(void); | 175 | long tagcache_get_serial(void); |
171 | bool tagcache_import_changelog(void); | 176 | bool tagcache_import_changelog(void); |
172 | bool tagcache_create_changelog(struct tagcache_search *tcs); | 177 | bool tagcache_create_changelog(struct tagcache_search *tcs); |
178 | void tagcache_update_numeric(int idx_id, int tag, long data); | ||
173 | bool tagcache_modify_numeric_entry(struct tagcache_search *tcs, | 179 | bool tagcache_modify_numeric_entry(struct tagcache_search *tcs, |
174 | int tag, long data); | 180 | int tag, long data); |
175 | 181 | ||