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

Comparing libev/ev.h (file contents):
Revision 1.24 by root, Sat Nov 3 09:19:58 2007 UTC vs.
Revision 1.26 by root, Sat Nov 3 19:41:55 2007 UTC

84 EV_COMMON; /* rw */ \ 84 EV_COMMON; /* rw */ \
85 void (*cb)(struct type *, int revents); /* rw */ /* gets invoked with an eventmask */ 85 void (*cb)(struct type *, int revents); /* rw */ /* gets invoked with an eventmask */
86 86
87#define EV_WATCHER_LIST(type) \ 87#define EV_WATCHER_LIST(type) \
88 EV_WATCHER (type); \ 88 EV_WATCHER (type); \
89 struct type *next /* private */ 89 struct ev_watcher_list *next /* private */
90 90
91#define EV_WATCHER_TIME(type) \ 91#define EV_WATCHER_TIME(type) \
92 EV_WATCHER (type); \ 92 EV_WATCHER (type); \
93 ev_tstamp at /* private */ 93 ev_tstamp at /* private */
94 94
166 EV_WATCHER (ev_check); 166 EV_WATCHER (ev_check);
167}; 167};
168 168
169/* invoked when sigchld is received and waitpid indicates the givne pid */ 169/* invoked when sigchld is received and waitpid indicates the givne pid */
170/* revent EV_CHILD */ 170/* revent EV_CHILD */
171/* does not support priorities */
171struct ev_child 172struct ev_child
172{ 173{
173 EV_WATCHER_LIST (ev_child); 174 EV_WATCHER_LIST (ev_child);
174 175
175 int pid; /* ro */ 176 int pid; /* ro */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines