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

Comparing libev/ev.h (file contents):
Revision 1.105 by root, Mon Sep 8 17:24:39 2008 UTC vs.
Revision 1.107 by root, Wed Nov 5 02:48:45 2008 UTC

335 ev_prepare prepare; /* private */ 335 ev_prepare prepare; /* private */
336 ev_check check; /* unused */ 336 ev_check check; /* unused */
337 ev_timer timer; /* unused */ 337 ev_timer timer; /* unused */
338 ev_periodic periodic; /* unused */ 338 ev_periodic periodic; /* unused */
339 ev_idle idle; /* unused */ 339 ev_idle idle; /* unused */
340 ev_fork fork; /* unused */ 340 ev_fork fork; /* private */
341} ev_embed; 341} ev_embed;
342#endif 342#endif
343 343
344#if EV_ASYNC_ENABLE 344#if EV_ASYNC_ENABLE
345/* invoked when somebody calls ev_async_send on the watcher */ 345/* invoked when somebody calls ev_async_send on the watcher */
513 * should not keep ev_loop from running, unref() after starting, and ref() before stopping. 513 * should not keep ev_loop from running, unref() after starting, and ref() before stopping.
514 */ 514 */
515void ev_ref (EV_P); 515void ev_ref (EV_P);
516void ev_unref (EV_P); 516void ev_unref (EV_P);
517 517
518/* convinience function, wait for a single event, without registering an event watcher */ 518/* convenience function, wait for a single event, without registering an event watcher */
519/* if timeout is < 0, do wait indefinitely */ 519/* if timeout is < 0, do wait indefinitely */
520void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg); 520void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg);
521#endif 521#endif
522 522
523/* these may evaluate ev multiple times, and the other arguments at most once */ 523/* these may evaluate ev multiple times, and the other arguments at most once */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines