Home | History | Annotate | Download | only in event_injector

Lines Matching defs:IoLooper

25 /* An IOLooper is an abstraction for select() */
27 typedef struct IoLooper IoLooper;
29 IoLooper* iolooper_new(void);
30 void iolooper_free( IoLooper* iol );
31 void iolooper_reset( IoLooper* iol );
33 void iolooper_add_read( IoLooper* iol, int fd );
34 void iolooper_add_write( IoLooper* iol, int fd );
35 void iolooper_del_read( IoLooper* iol, int fd );
36 void iolooper_del_write( IoLooper* iol, int fd );
42 void iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags);
44 int iolooper_poll( IoLooper* iol );
50 int iolooper_wait( IoLooper* iol, int64_t duration );
52 int iolooper_is_read( IoLooper* iol, int fd );
53 int iolooper_is_write( IoLooper* iol, int fd );
54 /* Returns 1 if this IoLooper has one or more file descriptor to interact with */
55 int iolooper_has_operations( IoLooper* iol );
78 * iol IoLooper instance for an I/O.
85 int iolooper_wait_absolute(IoLooper* iol, int64_t deadline);