Merge commit 'meins/master'
[paraslash.git] / sched.h
diff --git a/sched.h b/sched.h
index b92aaff75bd8554069145e70a1fe0db3274c4905..4d57c75f3e3bf9b3076e60012bd80fba7cb4567c 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -27,6 +27,8 @@ struct sched {
        fd_set wfds;
        /** Highest numbered file descriptor in any of the above fd sets. */
        int max_fileno;
+       /** In non-NULL, use this function instead of para_select. */
+       int (*select_function)(int, fd_set *, fd_set *, struct timeval *);
 };
 
 /**