aboutsummaryrefslogtreecommitdiffstats
path: root/iolooper.h
diff options
context:
space:
mode:
Diffstat (limited to 'iolooper.h')
-rw-r--r--iolooper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iolooper.h b/iolooper.h
index ead3583..2822f71 100644
--- a/iolooper.h
+++ b/iolooper.h
@@ -21,5 +21,7 @@ int iolooper_wait( IoLooper* iol, int64_t duration );
int iolooper_is_read( IoLooper* iol, int fd );
int iolooper_is_write( IoLooper* iol, int fd );
+/* Returns 1 if this IoLooper has one or more file descriptor to interact with */
+int iolooper_has_operations( IoLooper* iol );
#endif /* IOLOOPER_H */