X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=2d227b6e1797ec331c7a6e966ec412d5f6c7a79b;hp=e8114cfbdcf516a920cdb1a5690951e0705a1e46;hb=40ed7df894c8645c132a5bea2bfb12a9be2b82ef;hpb=488f28bf7070f44469a006ed4a9d4c423788d175 diff --git a/server.h b/server.h index e8114cf..2d227b6 100644 --- a/server.h +++ b/server.h @@ -53,6 +53,7 @@ public: void add_client_from_serialized(const ClientProto &client); void add_stream(const std::string &stream_id, size_t bytes_received); void add_stream_from_serialized(const StreamProto &stream); + void set_backlog_size(const std::string &stream_id, size_t new_size); private: // Mutex protecting queued_data only. Note that if you want to hold both this @@ -123,7 +124,6 @@ private: void process_queued_data(); void add_client(int sock); - void add_data(const std::string &stream_id, const char *data, ssize_t bytes); }; #endif // !defined(_SERVER_H)