summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2007-10-31 22:16:36 +0000
committerroot <root>2007-10-31 22:16:36 +0000
commit2286b0bd1148eb87826698f86c8224f93ff502cd (patch)
tree64a6bde9fded05f26ffc7b0dda01927cb0f295e8 /ev.h
parent8ee1afd13859937076f9a9ff5e3420d3304f524e (diff)
only add fds to fdchangeset one
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/ev.h b/ev.h
index 0454138..57072dc 100644
--- a/ev.h
+++ b/ev.h
@@ -33,17 +33,18 @@
typedef double ev_tstamp;
/* eventmask, revents, events... */
-#define EV_UNDEF -1 /* guaranteed to be invalid */
-#define EV_NONE 0x000000
-#define EV_READ 0x000001
-#define EV_WRITE 0x000002
-#define EV_TIMEOUT 0x000004
-#define EV_SIGNAL 0x000008
-#define EV_IDLE 0x000010
-#define EV_CHECK 0x000020
-#define EV_PREPARE 0x000040
-#define EV_CHILD 0x000080
-#define EV_ERROR 0x800000
+#define EV_UNDEF -1 /* guaranteed to be invalid */
+#define EV_NONE 0x00
+#define EV_READ 0x01
+#define EV_WRITE 0x02
+#define EV_REIFY 0x04 /* private */
+#define EV_TIMEOUT 0x000100
+#define EV_SIGNAL 0x000200
+#define EV_IDLE 0x000400
+#define EV_CHECK 0x000800
+#define EV_PREPARE 0x001000
+#define EV_CHILD 0x002000
+#define EV_ERROR 0x800000 /* sent when an error occurs */
/* can be used to add custom fields to all watchers */
#ifndef EV_COMMON