owntone-server/src/httpd_dacp.h
ejurgensen 5b4ef31758 Migrate all evhttp to non-deprecated libevent2
- well except a troublemaker in httpd_daap.c (req->flags &= ~EVHTTP_PROXY_REQUEST)
2014-05-29 23:22:00 +02:00

25 lines
355 B
C

#ifndef __HTTPD_DACP_H__
#define __HTTPD_DACP_H__
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <event2/http.h>
#else
# include "evhttp/evhttp_compat.h"
#endif
int
dacp_init(void);
void
dacp_deinit(void);
void
dacp_request(struct evhttp_request *req);
int
dacp_is_request(struct evhttp_request *req, char *uri);
#endif /* !__HTTPD_DACP_H__ */