… | … | ||
---|---|---|---|
37 | 37 | ||
38 | #include "ev.h" | 38 | #include "ev.h" |
39 | 39 | ||
40 | struct event | 40 | struct event |
41 | { | 41 | { |
42 | /* lib watchers we map to */ | 42 | /* libev watchers we map onto */ |
43 | union { | 43 | union { |
44 | struct ev_io io; | 44 | struct ev_io io; |
45 | struct ev_signal sig; | 45 | struct ev_signal sig; |
46 | } iosig; | 46 | } iosig; |
47 | struct ev_timer to; | 47 | struct ev_timer to; |
… | … | ||
118 | int event_base_dispatch (struct event_base *base); | 118 | int event_base_dispatch (struct event_base *base); |
119 | int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); | 119 | int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); |
120 | int event_base_priority_init (struct event_base *base, int fd); | 120 | int event_base_priority_init (struct event_base *base, int fd); |
121 | 121 | ||
122 | #endif | 122 | #endif |
123 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |