ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event.h
(Generate patch)

Comparing libev/event.h (file contents):
Revision 1.3 by root, Fri Nov 2 11:02:23 2007 UTC vs.
Revision 1.5 by root, Fri Nov 2 22:03:00 2007 UTC

36#endif 36#endif
37 37
38#include "ev.h" 38#include "ev.h"
39 39
40struct event 40struct event
41 { 41{
42 /* libev watchers we map onto */
43 union {
42 struct ev_io io; 44 struct ev_io io;
45 struct ev_signal sig;
46 } iosig;
43 struct ev_timer to; 47 struct ev_timer to;
44 struct ev_signal sig;
45 48
49 /* compatibility slots */
46 struct event_base *ev_base; 50 struct event_base *ev_base;
47 void (*ev_callback)(int, short, void *arg); 51 void (*ev_callback)(int, short, void *arg);
48 void *ev_arg; 52 void *ev_arg;
49 int ev_fd; 53 int ev_fd;
50 int ev_pri; 54 int ev_pri;
114int event_base_dispatch (struct event_base *base); 118int event_base_dispatch (struct event_base *base);
115int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); 119int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv);
116int event_base_priority_init (struct event_base *base, int fd); 120int event_base_priority_init (struct event_base *base, int fd);
117 121
118#endif 122#endif
123

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines