]> git.sesse.net Git - cubemap/blobdiff - serverpool.h
Add a missing log_perror() on close() failure (cosmetic issue).
[cubemap] / serverpool.h
index 84a201fb6fb2aea2748cad988e1254fe80e662ac..6a2fcb53deef177fedd13ba7be99448a48198f48 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "server.h"
 #include "state.pb.h"
+#include "stream.h"
 
 class MarkPool;
 class Server;
@@ -27,7 +28,7 @@ public:
 
        // Adds the given stream to all the servers.
        void add_stream(const std::string &stream_id, size_t backlog_size, Stream::Encoding encoding);
-       void add_stream_from_serialized(const StreamProto &stream);
+       void add_stream_from_serialized(const StreamProto &stream, const std::vector<int> &data_fds);
 
        // Adds the given data to all the servers.
        void set_header(const std::string &stream_id,