1 | /* |
1 | /* |
2 | * loop member variable declarations |
2 | * loop member variable declarations |
3 | * |
3 | * |
4 | * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann <libev@schmorp.de> |
5 | * All rights reserved. |
5 | * All rights reserved. |
6 | * |
6 | * |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
8 | * tion, are permitted provided that the following conditions are met: |
8 | * tion, are permitted provided that the following conditions are met: |
9 | * |
9 | * |
… | |
… | |
100 | #endif |
100 | #endif |
101 | |
101 | |
102 | #if EV_USE_EPOLL || EV_GENWRAP |
102 | #if EV_USE_EPOLL || EV_GENWRAP |
103 | VARx(struct epoll_event *, epoll_events) |
103 | VARx(struct epoll_event *, epoll_events) |
104 | VARx(int, epoll_eventmax) |
104 | VARx(int, epoll_eventmax) |
|
|
105 | VARx(int *, epoll_eperms) |
|
|
106 | VARx(int, epoll_epermcnt) |
|
|
107 | VARx(int, epoll_epermmax) |
105 | #endif |
108 | #endif |
106 | |
109 | |
107 | #if EV_USE_KQUEUE || EV_GENWRAP |
110 | #if EV_USE_KQUEUE || EV_GENWRAP |
108 | VARx(struct kevent *, kqueue_changes) |
111 | VARx(struct kevent *, kqueue_changes) |
109 | VARx(int, kqueue_changemax) |
112 | VARx(int, kqueue_changemax) |
… | |
… | |
115 | #if EV_USE_PORT || EV_GENWRAP |
118 | #if EV_USE_PORT || EV_GENWRAP |
116 | VARx(struct port_event *, port_events) |
119 | VARx(struct port_event *, port_events) |
117 | VARx(int, port_eventmax) |
120 | VARx(int, port_eventmax) |
118 | #endif |
121 | #endif |
119 | |
122 | |
|
|
123 | #if EV_USE_IOCP || EV_GENWRAP |
|
|
124 | VARx(HANDLE, iocp) |
|
|
125 | #endif |
|
|
126 | |
120 | VARx(int *, fdchanges) |
127 | VARx(int *, fdchanges) |
121 | VARx(int, fdchangemax) |
128 | VARx(int, fdchangemax) |
122 | VARx(int, fdchangecnt) |
129 | VARx(int, fdchangecnt) |
123 | |
130 | |
124 | VARx(ANHE *, timers) |
131 | VARx(ANHE *, timers) |
… | |
… | |
148 | |
155 | |
149 | #if EV_FORK_ENABLE || EV_GENWRAP |
156 | #if EV_FORK_ENABLE || EV_GENWRAP |
150 | VARx(struct ev_fork **, forks) |
157 | VARx(struct ev_fork **, forks) |
151 | VARx(int, forkmax) |
158 | VARx(int, forkmax) |
152 | VARx(int, forkcnt) |
159 | VARx(int, forkcnt) |
|
|
160 | #endif |
|
|
161 | |
|
|
162 | #if EV_CLEANUP_ENABLE || EV_GENWRAP |
|
|
163 | VARx(struct ev_cleanup **, cleanups) |
|
|
164 | VARx(int, cleanupmax) |
|
|
165 | VARx(int, cleanupcnt) |
153 | #endif |
166 | #endif |
154 | |
167 | |
155 | #if EV_ASYNC_ENABLE || EV_GENWRAP |
168 | #if EV_ASYNC_ENABLE || EV_GENWRAP |
156 | VARx(EV_ATOMIC_T, async_pending) |
169 | VARx(EV_ATOMIC_T, async_pending) |
157 | VARx(struct ev_async **, asyncs) |
170 | VARx(struct ev_async **, asyncs) |