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.4 by root, Fri Nov 2 13:08:51 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 /* lib watchers we map to */
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines