… | |
… | |
27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ |
28 | */ |
29 | |
29 | |
30 | #ifndef EV_H |
30 | #ifndef EV_H |
31 | #define EV_H |
31 | #define EV_H |
|
|
32 | |
|
|
33 | #ifdef __cplusplus |
|
|
34 | extern "C" { |
|
|
35 | #endif |
32 | |
36 | |
33 | typedef double ev_tstamp; |
37 | typedef double ev_tstamp; |
34 | |
38 | |
35 | /* eventmask, revents, events... */ |
39 | /* eventmask, revents, events... */ |
36 | #define EV_UNDEF -1 /* guaranteed to be invalid */ |
40 | #define EV_UNDEF -1 /* guaranteed to be invalid */ |
… | |
… | |
243 | |
247 | |
244 | void ev_child_start (struct ev_child *w); |
248 | void ev_child_start (struct ev_child *w); |
245 | void ev_child_stop (struct ev_child *w); |
249 | void ev_child_stop (struct ev_child *w); |
246 | #endif |
250 | #endif |
247 | |
251 | |
|
|
252 | #ifdef __cplusplus |
|
|
253 | } |
248 | #endif |
254 | #endif |
249 | |
255 | |
|
|
256 | #endif |
|
|
257 | |