#include "ev.h"
struct event
- {
- struct ev_io io;
+{
+ /* libev watchers we map onto */
+ union {
+ struct ev_io io;
+ struct ev_signal sig;
+ } iosig;
struct ev_timer to;
- struct ev_signal sig;
+ /* compatibility slots */
struct event_base *ev_base;
void (*ev_callback)(int, short, void *arg);
void *ev_arg;
int event_base_priority_init (struct event_base *base, int fd);
#endif
+