]> git.sesse.net Git - cubemap/blobdiff - server.h
Do some cleanup around EPOLL_CTL_MOD operations.
[cubemap] / server.h
index cb726c6fb818b7f73ce39ec09b2803215e635df6..1e6f44a57eb8e7a07382c1e7b473db80f97899aa 100644 (file)
--- a/server.h
+++ b/server.h
@@ -158,6 +158,9 @@ private:
        // Close a given client socket, and clean up after it.
        void close_client(Client *client);
 
        // Close a given client socket, and clean up after it.
        void close_client(Client *client);
 
+       // Listen for a different set of epoll events.
+       void change_epoll_events(Client *client, uint32_t events);
+
        // Parse the HTTP request. Returns a HTTP status code (200/204/400/404).
        int parse_request(Client *client);
 
        // Parse the HTTP request. Returns a HTTP status code (200/204/400/404).
        int parse_request(Client *client);