version 1.1.1.1, 2013/10/14 10:32:47
|
version 1.1.1.2.2.1, 2014/06/15 20:22:25
|
Line 47
|
Line 47
|
# include <port.h> |
# include <port.h> |
#endif |
#endif |
|
|
#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE | #if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE && !defined HAVE_LIBEV |
# define USE_FREEBSD_KQUEUE |
# define USE_FREEBSD_KQUEUE |
#endif |
#endif |
|
|
Line 191 int fdevent_poll(fdevents *ev, int timeout_ms);
|
Line 191 int fdevent_poll(fdevents *ev, int timeout_ms);
|
int fdevent_register(fdevents *ev, int fd, fdevent_handler handler, void *ctx); |
int fdevent_register(fdevents *ev, int fd, fdevent_handler handler, void *ctx); |
int fdevent_unregister(fdevents *ev, int fd); |
int fdevent_unregister(fdevents *ev, int fd); |
|
|
|
void fd_close_on_exec(int fd); |
int fdevent_fcntl_set(fdevents *ev, int fd); |
int fdevent_fcntl_set(fdevents *ev, int fd); |
|
|
int fdevent_select_init(fdevents *ev); |
int fdevent_select_init(fdevents *ev); |