diff options
Diffstat (limited to 'source3/include/event.h')
-rw-r--r-- | source3/include/event.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/include/event.h b/source3/include/event.h index fdb990678d..f3c468c9b8 100644 --- a/source3/include/event.h +++ b/source3/include/event.h @@ -19,13 +19,12 @@ 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; -}; +struct event_context; +struct timed_event; + +struct fd_event; + +/* bits for file descriptor event flags */ +#define EVENT_FD_READ 1 +#define EVENT_FD_WRITE 2 |