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

Comparing libev/ev_vars.h (file contents):
Revision 1.2 by root, Sun Nov 4 00:24:17 2007 UTC vs.
Revision 1.7 by root, Sun Nov 11 01:07:35 2007 UTC

1#define VARx(type,name) VAR(name, type name) 1#define VARx(type,name) VAR(name, type name)
2 2
3VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ 3VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */
4VARx(ev_tstamp, mn_now) /* monotonic clock "now" */ 4VARx(ev_tstamp, mn_now) /* monotonic clock "now" */
5VARx(ev_tstamp, rt_now)
6VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ 5VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
7VARx(int, method) 6VARx(int, method)
8 7
9VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */ 8VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */
10VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev)) 9VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev))
11VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout)) 10VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout))
12 11
12VARx(int, postfork) /* true if we need to recreate kernel state after fork */
13VARx(int, activecnt) /* number of active events */ 13VARx(int, activecnt) /* number of active events */
14 14
15#if EV_USE_SELECT || EV_GENWRAP 15#if EV_USE_SELECT || EV_GENWRAP
16VARx(unsigned char *, vec_ri) 16VARx(unsigned char *, vec_ri)
17VARx(unsigned char *, vec_ro) 17VARx(unsigned char *, vec_ro)
57 57
58VARx(struct ev_timer **, timers) 58VARx(struct ev_timer **, timers)
59VARx(int, timermax) 59VARx(int, timermax)
60VARx(int, timercnt) 60VARx(int, timercnt)
61 61
62#if EV_PERIODICS || EV_GENWRAP
62VARx(struct ev_periodic **, periodics) 63VARx(struct ev_periodic **, periodics)
63VARx(int, periodicmax) 64VARx(int, periodicmax)
64VARx(int, periodiccnt) 65VARx(int, periodiccnt)
66#endif
65 67
66VARx(struct ev_idle **, idles) 68VARx(struct ev_idle **, idles)
67VARx(int, idlemax) 69VARx(int, idlemax)
68VARx(int, idlecnt) 70VARx(int, idlecnt)
69 71
73 75
74VARx(struct ev_check **, checks) 76VARx(struct ev_check **, checks)
75VARx(int, checkmax) 77VARx(int, checkmax)
76VARx(int, checkcnt) 78VARx(int, checkcnt)
77 79
78VAR (childs, struct ev_child *childs [PID_HASHSIZE])
79VARx(struct ev_signal, childev)
80
81VARx(struct ev_io, sigev)
82
83#undef VARx 80#undef VARx
84 81

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines