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

Comparing libev/ev.h (file contents):
Revision 1.159 by root, Wed Feb 16 08:02:50 2011 UTC vs.
Revision 1.161 by root, Sat Oct 15 09:05:03 2011 UTC

183# define EV_INLINE static inline 183# define EV_INLINE static inline
184#else 184#else
185# define EV_INLINE static 185# define EV_INLINE static
186#endif 186#endif
187 187
188/* EV_PROTOTYPES can be sued to switch of prototype declarations */ 188/* EV_PROTOTYPES can be used to switch of prototype declarations */
189#ifndef EV_PROTOTYPES 189#ifndef EV_PROTOTYPES
190# define EV_PROTOTYPES 1 190# define EV_PROTOTYPES 1
191#endif 191#endif
192 192
193/*****************************************************************************/ 193/*****************************************************************************/
194 194
195#define EV_VERSION_MAJOR 4 195#define EV_VERSION_MAJOR 4
196#define EV_VERSION_MINOR 3 196#define EV_VERSION_MINOR 4
197 197
198/* eventmask, revents, events... */ 198/* eventmask, revents, events... */
199enum { 199enum {
200 EV_UNDEF = 0xFFFFFFFF, /* guaranteed to be invalid */ 200 EV_UNDEF = 0xFFFFFFFF, /* guaranteed to be invalid */
201 EV_NONE = 0x00, /* no events */ 201 EV_NONE = 0x00, /* no events */
715 715
716/* stopping (enabling, adding) a watcher does nothing if it is already running */ 716/* stopping (enabling, adding) a watcher does nothing if it is already running */
717/* stopping (disabling, deleting) a watcher does nothing unless its already running */ 717/* stopping (disabling, deleting) a watcher does nothing unless its already running */
718#if EV_PROTOTYPES 718#if EV_PROTOTYPES
719 719
720/* feeds an event into a watcher as if the event actually occured */ 720/* feeds an event into a watcher as if the event actually occurred */
721/* accepts any ev_watcher type */ 721/* accepts any ev_watcher type */
722void ev_feed_event (EV_P_ void *w, int revents); 722void ev_feed_event (EV_P_ void *w, int revents);
723void ev_feed_fd_event (EV_P_ int fd, int revents); 723void ev_feed_fd_event (EV_P_ int fd, int revents);
724#if EV_SIGNAL_ENABLE 724#if EV_SIGNAL_ENABLE
725void ev_feed_signal (int signum); 725void ev_feed_signal (int signum);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines