Tor
0.4.7.0-alpha-dev
|
Data Fields | |
struct event * | ev |
void(* | cb )(mainloop_event_t *, void *) |
void * | userdata |
Type used to represent events that run directly from the main loop, either because they are activated from elsewhere in the code, or because they have a simple timeout.
We use this type to avoid exposing Libevent's API throughout the rest of the codebase.
This type can't be used for all events: it doesn't handle events that are triggered by signals or by sockets.
Definition at line 320 of file compat_libevent.c.