2009-04-22 15:25:41 -04:00
|
|
|
|
|
|
|
#ifndef __HTTPD_H__
|
|
|
|
#define __HTTPD_H__
|
|
|
|
|
2009-04-25 04:40:47 -04:00
|
|
|
#include <event.h>
|
|
|
|
#include <evhttp.h>
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
httpd_stream_file(struct evhttp_request *req, int id);
|
|
|
|
|
2009-05-01 14:58:15 -04:00
|
|
|
int
|
|
|
|
httpd_basic_auth(struct evhttp_request *req, char *user, char *passwd, char *realm);
|
|
|
|
|
2009-04-22 15:25:41 -04:00
|
|
|
int
|
|
|
|
httpd_init(void);
|
|
|
|
|
|
|
|
void
|
|
|
|
httpd_deinit(void);
|
|
|
|
|
|
|
|
#endif /* !__HTTPD_H__ */
|