owntone-server/src/httpd_daap.h

28 lines
405 B
C
Raw Normal View History

#ifndef __HTTPD_DAAP_H__
#define __HTTPD_DAAP_H__
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <event2/http.h>
#else
# include "evhttp/evhttp_compat.h"
#endif
int
daap_init(void);
void
daap_deinit(void);
void
daap_request(struct evhttp_request *req);
int
daap_is_request(struct evhttp_request *req, char *uri);
2014-08-19 18:21:48 -04:00
struct evbuffer *
daap_reply_build(char *query);
#endif /* !__HTTPD_DAAP_H__ */