diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socketengine.h | 6 |
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 |