9 #ifndef TOR_VOTING_SCHEDULE_H
10 #define TOR_VOTING_SCHEDULE_H
14 #ifdef HAVE_MODULE_DIRAUTH
22 time_t fetch_missing_votes;
27 time_t fetch_missing_signatures;
29 time_t interval_starts;
37 int have_fetched_missing_votes;
39 int have_built_consensus;
41 int have_fetched_missing_signatures;
43 int have_published_consensus;
50 int created_on_demand;
54 time_t live_consensus_valid_after;
59 extern voting_schedule_t voting_schedule;
70 #define dirauth_sched_recalculate_timing(opt,now) \
71 ((void)(opt), (void)(now))
76 tor_assert_unreached();
82 tor_assert_unreached();
88 tor_assert_unreached();
Master header file for Tor-specific functionality.
void dirauth_sched_recalculate_timing(const or_options_t *options, time_t now)
int dirauth_sched_get_configured_interval(void)
time_t dirauth_sched_get_cur_valid_after_time(void)
time_t dirauth_sched_get_next_valid_after_time(void)