]> git.sesse.net Git - cubemap/blobdiff - config.h
Move Server:add_data() into Stream, where it more logically belongs.
[cubemap] / config.h
index d45ab08316b318c3e717d6c4a37252f047b0a9c5..34edaa7c878a2f340733b78aab1e8fd01b7fa9e5 100644 (file)
--- a/config.h
+++ b/config.h
@@ -3,8 +3,9 @@
 
 // Various routines that deal with parsing the configuration file.
 
-#include <vector>
+#include <stddef.h>
 #include <string>
+#include <vector>
 
 struct MarkPoolConfig {
        int from, to;
@@ -13,6 +14,7 @@ struct MarkPoolConfig {
 struct StreamConfig {
        std::string stream_id;
        std::string src;  // Can be empty.
+       size_t backlog_size;
        int mark_pool;  // -1 for none.
 };