diff options
Diffstat (limited to 'include/socketengine_epoll.h')
-rw-r--r-- | include/socketengine_epoll.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/socketengine_epoll.h b/include/socketengine_epoll.h index f675671e2..04ede734d 100644 --- a/include/socketengine_epoll.h +++ b/include/socketengine_epoll.h @@ -45,11 +45,11 @@ public: /** Delete an EPollEngine */ virtual ~EPollEngine(); - virtual bool AddFd(int fd, bool readable, char type); + virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(int fd); - virtual int Wait(int* fdlist); + virtual bool DelFd(EventHandler* eh); + virtual int Wait(EventHandler** fdlist); virtual std::string GetName(); }; |