]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine.h
Needs testbuilding in windows. I will probably do this in a minute.
[user/henk/code/inspircd.git] / include / socketengine.h
index ce701beff4a14ac3f510737ecc42bc19c2467987..1124966568387bde492e1a5eb3cf7b5070283dc9 100644 (file)
@@ -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