23 lines
349 B
C
Raw Normal View History

2009-04-22 21:25:41 +02:00
#ifndef __HTTPD_H__
#define __HTTPD_H__
#include <event2/buffer.h>
/*
* Gzips an evbuffer
*
* @in in Data to be compressed
* @return Compressed data - must be freed by caller
*/
struct evbuffer *
httpd_gzip_deflate(struct evbuffer *in);
2009-04-22 21:25:41 +02:00
int
httpd_init(const char *webroot);
2009-04-22 21:25:41 +02:00
void
httpd_deinit(void);
#endif /* !__HTTPD_H__ */