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

Comparing libev/ev.h (file contents):
Revision 1.103 by root, Thu Jun 19 06:58:34 2008 UTC vs.
Revision 1.106 by root, Mon Sep 29 03:31:14 2008 UTC

91 91
92#if EV_STAT_ENABLE 92#if EV_STAT_ENABLE
93# ifdef _WIN32 93# ifdef _WIN32
94# include <time.h> 94# include <time.h>
95# include <sys/types.h> 95# include <sys/types.h>
96# include <stdio.h>
97# endif 96# endif
98# include <sys/stat.h> 97# include <sys/stat.h>
99#endif 98#endif
100 99
101/* support multiple event loops? */ 100/* support multiple event loops? */
336 ev_prepare prepare; /* private */ 335 ev_prepare prepare; /* private */
337 ev_check check; /* unused */ 336 ev_check check; /* unused */
338 ev_timer timer; /* unused */ 337 ev_timer timer; /* unused */
339 ev_periodic periodic; /* unused */ 338 ev_periodic periodic; /* unused */
340 ev_idle idle; /* unused */ 339 ev_idle idle; /* unused */
341 ev_fork fork; /* unused */ 340 ev_fork fork; /* private */
342} ev_embed; 341} ev_embed;
343#endif 342#endif
344 343
345#if EV_ASYNC_ENABLE 344#if EV_ASYNC_ENABLE
346/* invoked when somebody calls ev_async_send on the watcher */ 345/* invoked when somebody calls ev_async_send on the watcher */
455void ev_loop_destroy (EV_P); 454void ev_loop_destroy (EV_P);
456void ev_loop_fork (EV_P); 455void ev_loop_fork (EV_P);
457void ev_loop_verify (EV_P); 456void ev_loop_verify (EV_P);
458 457
459ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */ 458ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */
459void ev_now_update (EV_P);
460 460
461#else 461#else
462 462
463int ev_default_loop (unsigned int flags); /* returns true when successful */ 463int ev_default_loop (unsigned int flags); /* returns true when successful */
464 464

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines