summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socketengine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/socketengine.h b/include/socketengine.h
index d7a0f1c59..f2679811e 100644
--- a/include/socketengine.h
+++ b/include/socketengine.h
@@ -131,13 +131,15 @@ public:
*/
int GetRemainingFds();
- /** Delete a file descriptor f rom the engine
+ /** Delete a file descriptor from the engine
* This function call deletes a file descriptor
* from the engine, returning true if it succeeded
* and false if it failed.
*/
bool DelFd(int fd);
+ bool HasFd(int fd);
+
/** Waits for an event.
* Please note that this doesnt wait long, only
* a couple of milliseconds. It returns a list