summaryrefslogtreecommitdiff
path: root/include/socketengine_kqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socketengine_kqueue.h')
-rw-r--r--include/socketengine_kqueue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/socketengine_kqueue.h b/include/socketengine_kqueue.h
index 2010949ed..392843697 100644
--- a/include/socketengine_kqueue.h
+++ b/include/socketengine_kqueue.h
@@ -49,11 +49,11 @@ public:
/** Delete a KQueueEngine
*/
virtual ~KQueueEngine();
- 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();
};