ioloop-internal.h revision 90da11b31d498cd653ec7232b334b6057198ab46
9439bed2f07d6475febd8a247cd2f0990fb32a13Timo Sirainen struct timeout *timeouts; /* sorted by next_run */
9132f9df4e12ed5293c70957813aa3736444a13cTimo Sirainen unsigned int msecs;
9132f9df4e12ed5293c70957813aa3736444a13cTimo Sirainenint io_loop_get_wait_time(struct timeout *timeout, struct timeval *tv,
9132f9df4e12ed5293c70957813aa3736444a13cTimo Sirainenvoid io_loop_handle_timeouts(struct ioloop *ioloop);
e248fe370c4047cee921a91b48edc37944ab0526Timo Sirainen/* call only when timeout->destroyed is TRUE */
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid timeout_destroy(struct ioloop *ioloop, struct timeout **timeout_p);
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainen/* I/O handler calls */
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid io_loop_handle_add(struct ioloop *ioloop, struct io *io);
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid io_loop_handle_remove(struct ioloop *ioloop, struct io *io);
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid io_loop_handler_init(struct ioloop *ioloop);
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid io_loop_handler_deinit(struct ioloop *ioloop);
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenstruct io *io_loop_notify_add(struct ioloop *ioloop, int fd,
7a94f950fd1dcc81537acfc8adb030b5e703d722Timo Sirainenvoid io_loop_notify_remove(struct ioloop *ioloop, struct io *io);