Home | History | Annotate | Download | only in event_injector

Lines Matching defs:IoLooper

18 #include "iolooper.h"
21 /* An implementation of iolooper.h based on Unix select() */
31 struct IoLooper {
40 IoLooper*
43 IoLooper* iol = malloc(sizeof(*iol));
49 iolooper_free( IoLooper* iol )
55 iolooper_reset( IoLooper* iol )
64 iolooper_add_fd( IoLooper* iol, int fd )
72 iolooper_del_fd( IoLooper* iol, int fd )
79 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags )
102 iolooper_fd_count( IoLooper* iol )
124 iolooper_add_read( IoLooper* iol, int fd )
133 iolooper_add_write( IoLooper* iol, int fd )
142 iolooper_del_read( IoLooper* iol, int fd )
151 iolooper_del_write( IoLooper* iol, int fd )
160 iolooper_poll( IoLooper* iol )
186 iolooper_wait( IoLooper* iol, int64_t duration )
222 iolooper_is_read( IoLooper* iol, int fd )
228 iolooper_is_write( IoLooper* iol, int fd )
234 iolooper_has_operations( IoLooper* iol )
264 iolooper_wait_absolute(IoLooper* iol, int64_t deadline)