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.3 by root, Sun Nov 4 18:15:16 2007 UTC vs.
Revision 1.9 by root, Fri Nov 16 01:33:54 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(void *, vec_ri)
17VARx(unsigned char *, vec_ro) 17VARx(void *, vec_ro)
18VARx(unsigned char *, vec_wi) 18VARx(void *, vec_wi)
19VARx(unsigned char *, vec_wo) 19VARx(void *, vec_wo)
20VARx(int, vec_max) 20VARx(int, vec_max)
21#endif 21#endif
22 22
23#if EV_USE_POLL || EV_GENWRAP 23#if EV_USE_POLL || EV_GENWRAP
24VARx(struct pollfd *, polls) 24VARx(struct pollfd *, polls)
42VARx(int, kqueue_changecnt) 42VARx(int, kqueue_changecnt)
43VARx(struct kevent *, kqueue_events) 43VARx(struct kevent *, kqueue_events)
44VARx(int, kqueue_eventmax) 44VARx(int, kqueue_eventmax)
45#endif 45#endif
46 46
47#if EV_USE_PORT || EV_GENWRAP
48VARx(int, port_fd)
49VARx(struct port_event *, port_events)
50VARx(int, port_eventmax)
51#endif
52
47VARx(ANFD *, anfds) 53VARx(ANFD *, anfds)
48VARx(int, anfdmax) 54VARx(int, anfdmax)
49 55
50VAR (pendings, ANPENDING *pendings [NUMPRI]) 56VAR (pendings, ANPENDING *pendings [NUMPRI])
51VAR (pendingmax, int pendingmax [NUMPRI]) 57VAR (pendingmax, int pendingmax [NUMPRI])
57 63
58VARx(struct ev_timer **, timers) 64VARx(struct ev_timer **, timers)
59VARx(int, timermax) 65VARx(int, timermax)
60VARx(int, timercnt) 66VARx(int, timercnt)
61 67
68#if EV_PERIODICS || EV_GENWRAP
62VARx(struct ev_periodic **, periodics) 69VARx(struct ev_periodic **, periodics)
63VARx(int, periodicmax) 70VARx(int, periodicmax)
64VARx(int, periodiccnt) 71VARx(int, periodiccnt)
72#endif
65 73
66VARx(struct ev_idle **, idles) 74VARx(struct ev_idle **, idles)
67VARx(int, idlemax) 75VARx(int, idlemax)
68VARx(int, idlecnt) 76VARx(int, idlecnt)
69 77

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines