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

Comparing libev/event.h (file contents):
Revision 1.1 by root, Thu Nov 1 15:22:12 2007 UTC vs.
Revision 1.2 by root, Thu Nov 1 18:30:26 2007 UTC

42 struct ev_io io; 42 struct ev_io io;
43 struct ev_timer to; 43 struct ev_timer to;
44 struct ev_signal sig; 44 struct ev_signal sig;
45 45
46 struct event_base *ev_base; 46 struct event_base *ev_base;
47 int ev_fd;
48 short ev_events;
49 int ev_pri;
50 void (*ev_callback)(int, short, void *arg); 47 void (*ev_callback)(int, short, void *arg);
51 void *ev_arg; 48 void *ev_arg;
49 int ev_fd;
50 int ev_pri;
52 int ev_res; 51 int ev_res;
52 short ev_events;
53}; 53};
54 54
55#define EV_PERSIST 0x10 55#define EV_PERSIST 0x10
56 56
57#define EVENT_SIGNAL(ev) ((int) (ev)->ev_fd) 57#define EVENT_SIGNAL(ev) ((int) (ev)->ev_fd)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines