|
Tor 0.4.9.3-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 318 of file compat_libevent.c.
| void(* cb) (mainloop_event_t *, void *) |
Definition at line 320 of file compat_libevent.c.
| struct event* ev |
Definition at line 319 of file compat_libevent.c.
| void* userdata |
Definition at line 321 of file compat_libevent.c.