mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-15 16:53:18 -05:00
23 lines
349 B
C
23 lines
349 B
C
|
|
#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);
|
|
|
|
int
|
|
httpd_init(const char *webroot);
|
|
|
|
void
|
|
httpd_deinit(void);
|
|
|
|
#endif /* !__HTTPD_H__ */
|