refactoring

This commit is contained in:
Devaev Maxim
2018-09-18 22:53:44 +03:00
parent 0d86ae146c
commit eb1b61a144
6 changed files with 52 additions and 54 deletions

View File

@@ -6,11 +6,18 @@
#include "stream.h"
struct exposed_t {
struct picture_t picture;
unsigned width;
unsigned height;
bool online;
};
struct http_server_runtime_t {
struct event_base *base;
struct evhttp *http;
struct stream_t *stream;
struct stream_t *exposed; // updated and mutex are not used
struct exposed_t *exposed;
};
struct http_server_t {