4 #include "track_info.h"
7 extern pthread_mutex_t cache_mutex
;
9 #define cache_lock() cmus_mutex_lock(&cache_mutex)
10 #define cache_unlock() cmus_mutex_unlock(&cache_mutex)
13 int cache_close(void);
14 struct track_info
*cache_get_ti(const char *filename
);
15 void cache_remove_ti(struct track_info
*ti
);
16 struct track_info
**cache_refresh(int *count
);