]> git.sesse.net Git - cubemap/blobdiff - serverpool.h
Added some Munin plugins.
[cubemap] / serverpool.h
index 5b7fca3d5e5ebcd2a67e3db34bb6445027d1169b..13211f918731a1084ffea3429ab1deb82e081cca 100644 (file)
@@ -12,7 +12,9 @@
 
 class MarkPool;
 class Server;
+class UDPStream;
 struct ClientStats;
+struct sockaddr_in6;
 
 // Provides services such as load-balancing between a number of Server instances.
 class ServerPool {
@@ -39,7 +41,7 @@ public:
        void set_header(int stream_index,
                        const std::string &http_header,
                        const std::string &stream_header);
-       void add_data(int stream_index, const char *data, size_t bytes);
+       void add_data(int stream_index, const char *data, size_t bytes, StreamStartSuitability suitable_for_stream_start);
 
        // Connects the given stream to the given mark pool for all the servers.
        void set_mark_pool(int stream_index, MarkPool *mark_pool);