… | |
… | |
84 | EV_COMMON; /* rw */ \ |
84 | EV_COMMON; /* rw */ \ |
85 | void (*cb)(struct type *, int revents); /* rw */ /* gets invoked with an eventmask */ |
85 | void (*cb)(struct type *, int revents); /* rw */ /* gets invoked with an eventmask */ |
86 | |
86 | |
87 | #define EV_WATCHER_LIST(type) \ |
87 | #define EV_WATCHER_LIST(type) \ |
88 | EV_WATCHER (type); \ |
88 | EV_WATCHER (type); \ |
89 | struct type *next /* private */ |
89 | struct ev_watcher_list *next /* private */ |
90 | |
90 | |
91 | #define EV_WATCHER_TIME(type) \ |
91 | #define EV_WATCHER_TIME(type) \ |
92 | EV_WATCHER (type); \ |
92 | EV_WATCHER (type); \ |
93 | ev_tstamp at /* private */ |
93 | ev_tstamp at /* private */ |
94 | |
94 | |