aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-13 09:41:43 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-13 09:45:30 -0400
commite62518865b312816211086c6a0d080e7258dae5b (patch)
tree9af124680dd0fe461dc2412aec9473ab653e7ac3 /src/or/main.h
parent6b2696296640585bb6247ff6c88570c38b4b25a8 (diff)
downloadtor-e62518865b312816211086c6a0d080e7258dae5b.tar.gz
tor-e62518865b312816211086c6a0d080e7258dae5b.zip
Decouple routerlist_retry_directory_downloads() from the blob
Instead of having it call update_all_descriptor_downloads and update_networkstatus_downloads directly, we can have it cause them to get rescheduled and called from run_scheduled_events. Closes ticket 16789.
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 be0bd64057..31883d495a 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -54,6 +54,7 @@ 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);
+void reschedule_directory_downloads(void);
MOCK_DECL(long,get_uptime,(void));