X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=f0eb622c5ac2d62a188092448143a2d95fef0974;hp=963aca9e36d9ca7c069871ad855bcb89a028f92a;hb=74cd48ffef90d7d0752e37a4515e4ecfb68f7c9d;hpb=dfa828027e66f823e1cd8e444dfb96492e296b42 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