/** * xerxes - mysql proxying * ``Why do you persist in your loneliness?'' --Xerxes * (c) 2008 * Jan Losinski * Maximilian Marx */ #ifndef XERXES_EPOLL_HXX #define XERXES_EPOLL_HXX #include #include #include #include #include #include #include #include "socket.hxx" namespace xerxes { struct EPoll { EPoll(); virtual ~EPoll(); typedef boost::shared_ptr event_t; void add(Socket const& source, Socket const& target); void add(Socket const& socket); void del(Socket const& socket); int fd; std::map events; }; } #endif