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.11 by root, Fri Nov 23 19:13:33 2007 UTC vs.
Revision 1.14 by root, Wed Nov 28 11:15:55 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, rtmn_diff) /* difference realtime - monotonic time */ 5VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
6VARx(int, backend) 6VARx(int, backend)
7 7
8VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ 8VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
9VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) 9VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
10VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) 10VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
11VARx(int, backend_fd) 11VARx(int, backend_fd)
12 12
13VARx(int, postfork) /* true if we need to recreate kernel state after fork */ 13VARx(int, postfork) /* true if we need to recreate kernel state after fork */
14VARx(int, activecnt) /* number of active events */ 14VARx(int, activecnt) /* total number of active events ("refcount") */
15 15
16#if EV_USE_SELECT || EV_GENWRAP 16#if EV_USE_SELECT || EV_GENWRAP
17VARx(void *, vec_ri) 17VARx(void *, vec_ri)
18VARx(void *, vec_ro) 18VARx(void *, vec_ro)
19VARx(void *, vec_wi) 19VARx(void *, vec_wi)
60 60
61VARx(struct ev_timer **, timers) 61VARx(struct ev_timer **, timers)
62VARx(int, timermax) 62VARx(int, timermax)
63VARx(int, timercnt) 63VARx(int, timercnt)
64 64
65#if EV_PERIODICS || EV_GENWRAP 65#if EV_PERIODIC_ENABLE || EV_GENWRAP
66VARx(struct ev_periodic **, periodics) 66VARx(struct ev_periodic **, periodics)
67VARx(int, periodicmax) 67VARx(int, periodicmax)
68VARx(int, periodiccnt) 68VARx(int, periodiccnt)
69#endif 69#endif
70 70
78 78
79VARx(struct ev_check **, checks) 79VARx(struct ev_check **, checks)
80VARx(int, checkmax) 80VARx(int, checkmax)
81VARx(int, checkcnt) 81VARx(int, checkcnt)
82 82
83#if EV_FORK_ENABLE || EV_GENWRAP
84VARx(struct ev_fork **, forks)
85VARx(int, forkmax)
86VARx(int, forkcnt)
87#endif
88
89#if EV_USE_INOTIFY || EV_GENWRAP
90VARx(int, fs_fd)
91VARx(ev_io, fs_w);
92VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
93#endif
94
83#undef VARx 95#undef VARx
84 96

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines