summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2015-02-09 01:05:31 -0500
committerRoger Dingledine <arma@torproject.org>2015-02-09 01:05:31 -0500
commit56061976dbe148dc615c8072c962ddfc0d719585 (patch)
treeb6c48264147ad92838473212fc1811f038670e1e /src/or/main.h
parent1cb9064d7d0f1b08d9595a42b80867118a26646a (diff)
downloadtor-56061976dbe148dc615c8072c962ddfc0d719585.tar.gz
tor-56061976dbe148dc615c8072c962ddfc0d719585.zip
Recover better when our clock jumps back many hours
like might happen for Tails or Whonix users who start with a very wrong hardware clock, use Tor to discover a more accurate time, and then fix their clock. Resolves part of ticket 8766. (There are still some timers in various places that aren't addressed yet.)
Diffstat (limited to 'src/or/main.h')
-rw-r--r--src/or/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.h b/src/or/main.h
index f77b4711c5..542eab6565 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -52,6 +52,7 @@ void directory_info_has_arrived(time_t now, int from_cache);
void ip_address_changed(int at_interface);
void dns_servers_relaunch_checks(void);
+void reset_all_main_loop_timers(void);
void reschedule_descriptor_update_check(void);
MOCK_DECL(long,get_uptime,(void));