37 ssize_t
io_send(
struct io *
io,
const struct iovec *iov,
int iovcnt);
data structure to manage io
void io_destroy(struct io *io)
struct io * io_new(int fd)
bool io_set_disconnect_handler(struct io *io, io_callback_func_t callback, void *user_data, io_destroy_func_t destroy)
void(* io_destroy_func_t)(void *data)
bool io_set_write_handler(struct io *io, io_callback_func_t callback, void *user_data, io_destroy_func_t destroy)
bool io_set_read_handler(struct io *io, io_callback_func_t callback, void *user_data, io_destroy_func_t destroy)
bool io_set_close_on_destroy(struct io *io, bool do_close)
int io_get_fd(struct io *io)
bool io_shutdown(struct io *io)
bool(* io_callback_func_t)(struct io *io, void *user_data)
ssize_t io_send(struct io *io, const struct iovec *iov, int iovcnt)