mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-30 09:03:23 -05:00
25 lines
369 B
C
25 lines
369 B
C
|
|
#ifndef __HTTPD_H__
|
|
#define __HTTPD_H__
|
|
|
|
#include <event.h>
|
|
#include "evhttp/evhttp.h"
|
|
|
|
|
|
void
|
|
httpd_stream_file(struct evhttp_request *req, int id);
|
|
|
|
char *
|
|
httpd_fixup_uri(struct evhttp_request *req);
|
|
|
|
int
|
|
httpd_basic_auth(struct evhttp_request *req, char *user, char *passwd, char *realm);
|
|
|
|
int
|
|
httpd_init(void);
|
|
|
|
void
|
|
httpd_deinit(void);
|
|
|
|
#endif /* !__HTTPD_H__ */
|