2009-04-28 11:48:57 -04:00
|
|
|
|
|
|
|
#ifndef __HTTPD_DAAP_H__
|
|
|
|
#define __HTTPD_DAAP_H__
|
|
|
|
|
|
|
|
#include <event.h>
|
2014-03-13 18:33:35 -04:00
|
|
|
#ifdef HAVE_LIBEVENT2
|
2014-05-29 17:22:00 -04:00
|
|
|
# include <event2/http.h>
|
2014-03-13 18:33:35 -04:00
|
|
|
#else
|
2014-05-29 17:22:00 -04:00
|
|
|
# include "evhttp/evhttp_compat.h"
|
2014-03-13 18:33:35 -04:00
|
|
|
#endif
|
2009-04-28 11:48:57 -04:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2009-04-28 11:48:57 -04:00
|
|
|
#endif /* !__HTTPD_DAAP_H__ */
|