mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-31 08:26:02 -05:00
62b42ce354
Also introduce default output format and selected device format, should the user want another format. As part of this, change enum player_format in player.h to enum media_format in misc.h so that it is akin to struct media_quality. Modify json API to support this.
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__ */
|