summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-04 23:51:02 +0000
committerroot <root>2007-11-04 23:51:02 +0000
commit0f411518435b7edf24d4bddcc86e5958f7e3d23f (patch)
treef5412e861ff86a94e01f63f8afea40629eef1407
parente24bed5d59f88b90093005921b5338267ed65ea2 (diff)
*** empty log message ***
-rw-r--r--ev.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/ev.h b/ev.h
index b563c3f..1933285 100644
--- a/ev.h
+++ b/ev.h
@@ -199,6 +199,20 @@ struct ev_child
int rstatus; /* rw, holds the exit status, use the macros from sys/wait.h */
};
+union ev_any_watcher
+{
+ struct ev_watcher w;
+ struct ev_watcher_list wl;
+ struct ev_io io;
+ struct ev_timer timer;
+ struct ev_periodic periodic;
+ struct ev_signal signal;
+ struct ev_idle idle;
+ struct ev_child child;
+ struct ev_prepare prepare;
+ struct ev_check check;
+};
+
#define EVMETHOD_AUTO 0 /* consults environment */
#define EVMETHOD_SELECT 1
#define EVMETHOD_POLL 2