Searched defs:reactor_object_t (Results 1 – 1 of 1) sorted by relevance
33 typedef struct reactor_object_t reactor_object_t; typedef51 struct reactor_object_t { struct52 void *context; // a context that's passed back to the *_ready functions.53 int fd; // the file descriptor to monitor for events.54 reactor_interest_t interest; // the event types to monitor the file descriptor for.56 …void (*read_ready)(void *context); // function to call when the file descriptor becomes readable.57 …oid (*write_ready)(void *context); // function to call when the file descriptor becomes writeable.