ejurgensen 62b42ce354 [misc/player] Introduce output ability to announce supported formats
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.
2024-06-17 22:25:20 +02:00

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__ */