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.10 by root, Fri Nov 23 05:13:49 2007 UTC vs.
Revision 1.13 by root, Tue Nov 27 10:59:11 2007 UTC

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)
11 12
12VARx(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 */
13VARx(int, activecnt) /* number of active events */ 14VARx(int, activecnt) /* number of active events */
14 15
15#if EV_USE_SELECT || EV_GENWRAP 16#if EV_USE_SELECT || EV_GENWRAP
27VARx(int *, pollidxs) /* maps fds into structure indices */ 28VARx(int *, pollidxs) /* maps fds into structure indices */
28VARx(int, pollidxmax) 29VARx(int, pollidxmax)
29#endif 30#endif
30 31
31#if EV_USE_EPOLL || EV_GENWRAP 32#if EV_USE_EPOLL || EV_GENWRAP
32VARx(int, epoll_fd)
33
34VARx(struct epoll_event *, epoll_events) 33VARx(struct epoll_event *, epoll_events)
35VARx(int, epoll_eventmax) 34VARx(int, epoll_eventmax)
36#endif 35#endif
37 36
38#if EV_USE_KQUEUE || EV_GENWRAP 37#if EV_USE_KQUEUE || EV_GENWRAP
39VARx(int, kqueue_fd)
40VARx(struct kevent *, kqueue_changes) 38VARx(struct kevent *, kqueue_changes)
41VARx(int, kqueue_changemax) 39VARx(int, kqueue_changemax)
42VARx(int, kqueue_changecnt) 40VARx(int, kqueue_changecnt)
43VARx(struct kevent *, kqueue_events) 41VARx(struct kevent *, kqueue_events)
44VARx(int, kqueue_eventmax) 42VARx(int, kqueue_eventmax)
45#endif 43#endif
46 44
47#if EV_USE_PORT || EV_GENWRAP 45#if EV_USE_PORT || EV_GENWRAP
48VARx(int, port_fd)
49VARx(struct port_event *, port_events) 46VARx(struct port_event *, port_events)
50VARx(int, port_eventmax) 47VARx(int, port_eventmax)
51#endif 48#endif
52 49
53VARx(ANFD *, anfds) 50VARx(ANFD *, anfds)
63 60
64VARx(struct ev_timer **, timers) 61VARx(struct ev_timer **, timers)
65VARx(int, timermax) 62VARx(int, timermax)
66VARx(int, timercnt) 63VARx(int, timercnt)
67 64
68#if EV_PERIODICS || EV_GENWRAP 65#if EV_PERIODIC_ENABLE || EV_GENWRAP
69VARx(struct ev_periodic **, periodics) 66VARx(struct ev_periodic **, periodics)
70VARx(int, periodicmax) 67VARx(int, periodicmax)
71VARx(int, periodiccnt) 68VARx(int, periodiccnt)
72#endif 69#endif
73 70
81 78
82VARx(struct ev_check **, checks) 79VARx(struct ev_check **, checks)
83VARx(int, checkmax) 80VARx(int, checkmax)
84VARx(int, checkcnt) 81VARx(int, checkcnt)
85 82
83#if EV_FORK_ENABLE || EV_GENWRAP
84VARx(struct ev_fork **, forks)
85VARx(int, forkmax)
86VARx(int, forkcnt)
87#endif
88
86#undef VARx 89#undef VARx
87 90

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines