X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=f0eb622c5ac2d62a188092448143a2d95fef0974;hp=963aca9e36d9ca7c069871ad855bcb89a028f92a;hb=1c6b126fe95eb0465383ba225da764757eba05c0;hpb=4553a184fb72d199ad665f469b0ac693fb089701 diff --git a/server.h b/server.h index 963aca9..f0eb622 100644 --- 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