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

Comparing libev/ev.h (file contents):
Revision 1.50 by root, Sun Nov 11 01:07:35 2007 UTC vs.
Revision 1.51 by root, Sun Nov 11 04:13:42 2007 UTC

71#endif 71#endif
72 72
73/* eventmask, revents, events... */ 73/* eventmask, revents, events... */
74#define EV_UNDEF -1 /* guaranteed to be invalid */ 74#define EV_UNDEF -1 /* guaranteed to be invalid */
75#define EV_NONE 0x00 75#define EV_NONE 0x00
76#define EV_READ 0x01 76#define EV_READ 0x01 /* io only */
77#define EV_WRITE 0x02 77#define EV_WRITE 0x02 /* io only */
78#define EV_TIMEOUT 0x000100 78#define EV_TIMEOUT 0x000100 /* timer only */
79#define EV_PERIODIC 0x000200 79#define EV_PERIODIC 0x000200 /* periodic timer only */
80#define EV_SIGNAL 0x000400 80#define EV_SIGNAL 0x000400 /* signal only */
81#define EV_IDLE 0x000800 81#define EV_IDLE 0x000800 /* idle only */
82#define EV_CHECK 0x001000 82#define EV_CHECK 0x001000 /* check only */
83#define EV_PREPARE 0x002000 83#define EV_PREPARE 0x002000 /* prepare only */
84#define EV_CHILD 0x004000 84#define EV_CHILD 0x004000 /* child/pid only */
85#define EV_ERROR 0x800000 /* sent when an error occurs */ 85#define EV_ERROR 0x800000 /* sent when an error occurs */
86 86
87/* can be used to add custom fields to all watchers */ 87/* can be used to add custom fields to all watchers, while losing binary compatibility */
88#ifndef EV_COMMON 88#ifndef EV_COMMON
89# define EV_COMMON void *data 89# define EV_COMMON void *data
90#endif 90#endif
91#ifndef EV_PROTOTYPES 91#ifndef EV_PROTOTYPES
92# define EV_PROTOTYPES 1 92# define EV_PROTOTYPES 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines