… | |
… | |
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
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 | |
32 | |
33 | #ifdef __cplusplus |
33 | #ifdef __cplusplus |
34 | extern "C" { |
34 | extern "C" { |
35 | #endif |
35 | #endif |
36 | |
36 | |
… | |
… | |
329 | #if EV_PROTOTYPES |
329 | #if EV_PROTOTYPES |
330 | |
330 | |
331 | /* feeds an event into a watcher as if the event actually occured */ |
331 | /* feeds an event into a watcher as if the event actually occured */ |
332 | /* accepts any ev_watcher type */ |
332 | /* accepts any ev_watcher type */ |
333 | void ev_feed_event (EV_P_ void *w, int revents); |
333 | void ev_feed_event (EV_P_ void *w, int revents); |
|
|
334 | void ev_feed_fd_event (EV_P_ int fd, int revents); |
|
|
335 | void ev_feed_signal_event (EV_P_ int signum); |
334 | |
336 | |
335 | void ev_io_start (EV_P_ struct ev_io *w); |
337 | void ev_io_start (EV_P_ struct ev_io *w); |
336 | void ev_io_stop (EV_P_ struct ev_io *w); |
338 | void ev_io_stop (EV_P_ struct ev_io *w); |
337 | |
339 | |
338 | void ev_timer_start (EV_P_ struct ev_timer *w); |
340 | void ev_timer_start (EV_P_ struct ev_timer *w); |