summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-04-26 15:00:19 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-27 09:28:00 -0400
commitd6903e9e87ffd39846b7cacebcfc8bae71f3ca5f (patch)
tree213ebb454298652b5c0bf452754c9da578a5a0d3 /src/or/main.h
parent05d314f888dd96840d92fbcc513974487485f4cb (diff)
downloadtor-d6903e9e87ffd39846b7cacebcfc8bae71f3ca5f.tar.gz
tor-d6903e9e87ffd39846b7cacebcfc8bae71f3ca5f.zip
hibernation: Rescan the event list on state change
When we change the hibernation state, rescan the main loop event list because the new state might affect the events. Signed-off-by: David Goulet <dgoulet@torproject.org>
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 33ef40ce40..2447339fb5 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -62,6 +62,7 @@ void reset_all_main_loop_timers(void);
void reschedule_descriptor_update_check(void);
void reschedule_directory_downloads(void);
void mainloop_schedule_postloop_cleanup(void);
+void rescan_periodic_events(const or_options_t *options);
MOCK_DECL(long,get_uptime,(void));
MOCK_DECL(void,reset_uptime,(void));