summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:39:51 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:39:51 +0000
commitf40811fd6e82d62010b395d2897b46e58dfebf6c (patch)
treec3646a0732c9a0cef4b9f445e37fc3461305a969 /include
parent156c232d1d22568d20ec498c4bd344bf03052e4a (diff)
Fix compile errors in windows
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/socketengine_iocp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/socketengine_iocp.h b/include/socketengine_iocp.h
index f4825c6b4..ad3e58157 100644
--- a/include/socketengine_iocp.h
+++ b/include/socketengine_iocp.h
@@ -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