]> git.sesse.net Git - cubemap/blobdiff - server.h
Tweak the MutexLock implementation slightly, so as to confuse Coverity less.
[cubemap] / server.h
index 476e790dbb73b0d1f439d1663a290e0a811b113b..f0eb622c5ac2d62a188092448143a2d95fef0974 100644 (file)
--- a/server.h
+++ b/server.h
@@ -47,7 +47,7 @@ public:
        // and the order between them are undefined.
        // XXX: header should ideally be ordered with respect to data.
        void add_client_deferred(int sock);
-       void add_data_deferred(int stream_index, const char *data, size_t bytes);
+       void add_data_deferred(int stream_index, const char *data, size_t bytes, StreamStartSuitability suitable_for_stream_start);
 
        // These should not be called while running, since that would violate
        // threading assumptions (ie., that epoll is only called from one thread
@@ -127,6 +127,7 @@ private:
        void construct_error(Client *client, int error_code);
 
        void process_queued_data();
+       void skip_lost_data(Client *client);
 
        void add_client(int sock);
 };