]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine_iocp.h
Windows specific data types in EventHandler are now Extensible items
[user/henk/code/inspircd.git] / include / socketengine_iocp.h
index f4825c6b46c7aeb5c29b9e7ff403eaa647f6f6cd..ad3e581574015c13b2d30a0bd3027bafd710d563 100644 (file)
@@ -114,6 +114,11 @@ class IOCPEngine : public SocketEngine
        map<int, EventHandler*> m_binding;
 
 public:
+       /** Holds the preallocated buffer passed to WSARecvFrom
+        * function. Yes, I know, it's a dirty hack.
+        */
+       udp_overlap * udp_ov;
+
        /** Creates an IOCP Socket Engine
         * @param Instance The creator of this object
         */
@@ -206,10 +211,7 @@ public:
         */
        EventHandler* GetIntRef(int fd);
 
-       /** Holds the preallocated buffer passed to WSARecvFrom
-        * function. Yes, I know, it's a dirty hack.
-        */
-       udp_overlap * udp_ov;
+       bool BoundsCheckFd(EventHandler* eh);
 };
 
 /** Creates a SocketEngine