summaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 16:50:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 16:50:53 +0000
commitac3af8b61e9601d9585510d99891e993eb3a2722 (patch)
tree531ae6aab2e4122cbc5d03b0580876ecd68d77c9 /include/socketengine.h
parent27d4ea0d970ed95cf21acedf72a08611ea082d72 (diff)
Some smart tricks to eliminate win32 ifdefs that are creeping into portable files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7589 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index ce701beff..112496656 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -290,6 +290,12 @@ public:
* @return The socket engine name
*/
virtual std::string GetName();
+
+ /** Returns true if the file descriptors in the
+ * given event handler are within sensible ranges
+ * which can be handled by the socket engine.
+ */
+ bool BoundsCheckFd(EventHandler* eh);
};
#endif