mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-16 17:10:03 -04:00
31 lines
423 B
C
31 lines
423 B
C
|
|
#ifndef __DAAP_CACHE_H__
|
|
#define __DAAP_CACHE_H__
|
|
|
|
#ifdef HAVE_LIBEVENT2
|
|
# include <event2/event.h>
|
|
# include <event2/buffer.h>
|
|
#else
|
|
# include <event.h>
|
|
#endif
|
|
|
|
void
|
|
daapcache_trigger(void);
|
|
|
|
struct evbuffer *
|
|
daapcache_get(const char *query);
|
|
|
|
void
|
|
daapcache_add(const char *query, const char *ua);
|
|
|
|
int
|
|
daapcache_threshold(void);
|
|
|
|
int
|
|
daapcache_init(void);
|
|
|
|
void
|
|
daapcache_deinit(void);
|
|
|
|
#endif /* !__DAAP_CACHE_H__ */
|