X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2c478454e9a3a21bdc62c7f46b02149795888437..57bdc324ccc888c220f3184c1f6952106316762e:/event.h?ds=inline diff --git a/event.h b/event.h index 1bc88d2..1466f90 100644 --- a/event.h +++ b/event.h @@ -31,7 +31,7 @@ #ifndef _EVENT_H_ #define _EVENT_H_ -#include "ev.h" +#include #ifdef __cplusplus extern "C" { @@ -104,6 +104,7 @@ int event_once (int fd, short events, void (*cb)(int, short, void *), void *arg, int event_add (struct event *ev, struct timeval *tv); int event_del (struct event *ev); +void event_active (struct event *ev, int res, short ncalls); /* ncalls is being ignored */ int event_pending (struct event *ev, short, struct timeval *tv); @@ -120,7 +121,7 @@ int event_base_once (struct event_base *base, int fd, short events, void (*cb)(i int event_base_priority_init (struct event_base *base, int fd); #ifndef EV_STANDALONE -# include "event_compat.h" +# include #endif #ifdef __cplusplus