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

Comparing libev/event.h (file contents):
Revision 1.21 by root, Tue Mar 16 18:38:11 2010 UTC vs.
Revision 1.23 by root, Sun Dec 5 10:12:24 2010 UTC

44# include EV_H 44# include EV_H
45#else 45#else
46# include "ev.h" 46# include "ev.h"
47#endif 47#endif
48 48
49#ifndef EVLOOP_NONBLOCK
50# define EVLOOP_NONBLOCK EVRUN_NOWAIT
51#endif
52#ifndef EVLOOP_ONESHOT
53# define EVLOOP_ONESHOT EVRUN_ONCE
54#endif
49#ifndef EV_TIMEOUT 55#ifndef EV_TIMEOUT
50# define EV_TIMEOUT EV_TIMER 56# define EV_TIMEOUT EV_TIMER
51#endif 57#endif
52 58
53#ifdef __cplusplus 59#ifdef __cplusplus
87 int ev_res; 93 int ev_res;
88 int ev_flags; 94 int ev_flags;
89 short ev_events; 95 short ev_events;
90}; 96};
91 97
98#define EV_READ EV_READ
99#define EV_WRITE EV_WRITE
92#define EV_PERSIST 0x10 100#define EV_PERSIST 0x10
93 101
94#define EVENT_SIGNAL(ev) ((int) (ev)->ev_fd) 102#define EVENT_SIGNAL(ev) ((int) (ev)->ev_fd)
95#define EVENT_FD(ev) ((int) (ev)->ev_fd) 103#define EVENT_FD(ev) ((int) (ev)->ev_fd)
96 104

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines