… | |
… | |
6 | VARx(int, backend) |
6 | VARx(int, backend) |
7 | |
7 | |
8 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
8 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
9 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
9 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
10 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
10 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
|
|
11 | VARx(int, backend_fd) |
11 | |
12 | |
12 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
13 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
13 | VARx(int, activecnt) /* number of active events */ |
14 | VARx(int, activecnt) /* number of active events */ |
14 | |
15 | |
15 | #if EV_USE_SELECT || EV_GENWRAP |
16 | #if EV_USE_SELECT || EV_GENWRAP |
… | |
… | |
27 | VARx(int *, pollidxs) /* maps fds into structure indices */ |
28 | VARx(int *, pollidxs) /* maps fds into structure indices */ |
28 | VARx(int, pollidxmax) |
29 | VARx(int, pollidxmax) |
29 | #endif |
30 | #endif |
30 | |
31 | |
31 | #if EV_USE_EPOLL || EV_GENWRAP |
32 | #if EV_USE_EPOLL || EV_GENWRAP |
32 | VARx(int, epoll_fd) |
|
|
33 | |
|
|
34 | VARx(struct epoll_event *, epoll_events) |
33 | VARx(struct epoll_event *, epoll_events) |
35 | VARx(int, epoll_eventmax) |
34 | VARx(int, epoll_eventmax) |
36 | #endif |
35 | #endif |
37 | |
36 | |
38 | #if EV_USE_KQUEUE || EV_GENWRAP |
37 | #if EV_USE_KQUEUE || EV_GENWRAP |
39 | VARx(int, kqueue_fd) |
|
|
40 | VARx(struct kevent *, kqueue_changes) |
38 | VARx(struct kevent *, kqueue_changes) |
41 | VARx(int, kqueue_changemax) |
39 | VARx(int, kqueue_changemax) |
42 | VARx(int, kqueue_changecnt) |
40 | VARx(int, kqueue_changecnt) |
43 | VARx(struct kevent *, kqueue_events) |
41 | VARx(struct kevent *, kqueue_events) |
44 | VARx(int, kqueue_eventmax) |
42 | VARx(int, kqueue_eventmax) |
45 | #endif |
43 | #endif |
46 | |
44 | |
47 | #if EV_USE_PORT || EV_GENWRAP |
45 | #if EV_USE_PORT || EV_GENWRAP |
48 | VARx(int, port_fd) |
|
|
49 | VARx(struct port_event *, port_events) |
46 | VARx(struct port_event *, port_events) |
50 | VARx(int, port_eventmax) |
47 | VARx(int, port_eventmax) |
51 | #endif |
48 | #endif |
52 | |
49 | |
53 | VARx(ANFD *, anfds) |
50 | VARx(ANFD *, anfds) |