Back to index

tor  0.2.3.18-rc
Public Attributes
periodic_timer_t Struct Reference

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

List of all members.

Public Attributes

struct event * ev
 Underlying event used to implement this periodic event.
void(* cb )(struct periodic_timer_t *, void *)
 The callback we'll be invoking whenever the event triggers.
void * data
 User-supplied data for the callback.

Detailed Description

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

Definition at line 574 of file compat_libevent.c.


Member Data Documentation

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

The callback we'll be invoking whenever the event triggers.

Definition at line 578 of file compat_libevent.c.

User-supplied data for the callback.

Definition at line 580 of file compat_libevent.c.

struct event* periodic_timer_t::ev

Underlying event used to implement this periodic event.

Definition at line 576 of file compat_libevent.c.


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