owntone-server/src/httpd_rsp.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
348 B
C

#ifndef __HTTPD_RSP_H__
#define __HTTPD_RSP_H__
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <event2/http.h>
#else
# include "evhttp/evhttp_compat.h"
#endif
int
rsp_init(void);
void
rsp_deinit(void);
void
rsp_request(struct evhttp_request *req);
int
rsp_is_request(struct evhttp_request *req, char *uri);
#endif /* !__HTTPD_RSP_H__ */