Tor  0.4.7.0-alpha-dev
Data Fields
periodic_timer_t Struct Reference

Data Fields

struct event * ev
 
void(* cb )(struct periodic_timer_t *, void *)
 
void * data
 

Detailed Description

Represents a timer that's run every N microseconds by Libevent.

Definition at line 226 of file compat_libevent.c.

Field Documentation

◆ cb

void(* cb) (struct periodic_timer_t *, void *)

The callback we'll be invoking whenever the event triggers

Definition at line 230 of file compat_libevent.c.

Referenced by periodic_timer_cb(), and periodic_timer_new().

◆ data

void* data

User-supplied data for the callback

Definition at line 232 of file compat_libevent.c.

Referenced by periodic_timer_cb().

◆ ev

struct event* ev

Underlying event used to implement this periodic event.

Definition at line 228 of file compat_libevent.c.

Referenced by periodic_timer_disable(), and periodic_timer_launch().


The documentation for this struct was generated from the following file: