From ac3af8b61e9601d9585510d99891e993eb3a2722 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 27 Jul 2007 16:50:53 +0000 Subject: 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 --- include/socketengine.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3