summaryrefslogtreecommitdiffstats
path: root/source/include/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/event.h')
-rw-r--r--source/include/event.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/include/event.h b/source/include/event.h
index fdb990678db..ce687eca6d6 100644
--- a/source/include/event.h
+++ b/source/include/event.h
@@ -19,13 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-struct timed_event {
- struct timed_event *next, *prev;
- struct timeval when;
- const char *event_name;
- void (*handler)(struct timed_event *te,
- const struct timeval *now,
- void *private_data);
- void *private_data;
-};
+/* bits for file descriptor event flags */
+#define EVENT_FD_READ 1
+#define EVENT_FD_WRITE 2