22#ifndef LELY_IO2_POSIX_POLL_H_
23#define LELY_IO2_POSIX_POLL_H_
65#define IO_POLL_WATCH_INIT(func) \
67 (func), -1, RBNODE_INIT, 0 \
70void *io_poll_alloc(
void);
71void io_poll_free(
void *ptr);
This header file is part of the I/O library; it contains the I/O context and service declarations.
This header file is part of the event library; it contains the abstract polling interface.
const struct ev_poll_vtbl *const ev_poll_t
The abstract polling interface.
This header file is part of the I/O library; it contains the I/O event declarations.
This header file is part of the I/O library; it contains system-dependent I/O initialization/finaliza...
ev_poll_t * io_poll_get_poll(const io_poll_t *poll)
Returns a pointer to the ev_poll_t instance corresponding to the I/O polling instance.
io_ctx_t * io_poll_get_ctx(const io_poll_t *poll)
Returns a pointer to the I/O context with which the I/O polling instance is registered.
void io_poll_watch_func_t(struct io_poll_watch *watch, int events)
The type of function invoked by an I/O polling instance (through ev_poll_wait()) to report I/O events...
void io_poll_destroy(io_poll_t *poll)
Destroys an I/O polling interface.
io_poll_t * io_poll_create(void)
Creates a new I/O polling interface.
This header file is part of the utilities library; it contains the red-black tree declarations.
An I/O polling interface.
An object representing a file descriptor being monitored for I/O events.
io_poll_watch_func_t * func
A pointer to the function to be invoked when an I/O event occurs.
A node in a red-black tree.