X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=94fdb67e735e996c46f8c0472f570366bd97a556;hp=343adf9bfd28f1513fcd6c9ccbec011919b9e147;hb=ae994771c0747d43bd1ed422224f4caacb95ca9f;hpb=195dc469133d0daed6ac69cdef373dc8dade9637 diff --git a/server.h b/server.h index 343adf9..94fdb67 100644 --- a/server.h +++ b/server.h @@ -1,17 +1,22 @@ #ifndef _SERVER_H #define _SERVER_H 1 -#include #include +#include +#include #include +#include #include -#include #include +#include #include #include "client.h" #include "thread.h" +class ClientProto; +struct Stream; + #define EPOLL_MAX_EVENTS 8192 #define EPOLL_TIMEOUT_MS 20 #define MAX_CLIENT_REQUEST 16384 @@ -118,7 +123,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)