aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/control_events.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-12 12:11:09 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-18 11:25:18 -0500
commit93af83e16a620a8e8d9972f65b724e4e3a520434 (patch)
treef6e6f4ab85213764747491286012f1d83634c309 /src/feature/control/control_events.h
parent17724a7cdeb9b98539831f1164a82784f1fb050f (diff)
downloadtor-93af83e16a620a8e8d9972f65b724e4e3a520434.tar.gz
tor-93af83e16a620a8e8d9972f65b724e4e3a520434.zip
Remember dirctory bw usage, and log it in the heartbeat
Closes ticket 32720.
Diffstat (limited to 'src/feature/control/control_events.h')
-rw-r--r--src/feature/control/control_events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/control/control_events.h b/src/feature/control/control_events.h
index 74bbc0047d..4f960b2443 100644
--- a/src/feature/control/control_events.h
+++ b/src/feature/control/control_events.h
@@ -164,6 +164,7 @@ int control_event_buildtimeout_set(buildtimeout_set_event_t type,
int control_event_signal(uintptr_t signal);
void control_event_bootstrap(bootstrap_status_t status, int progress);
+int control_get_bootstrap_percent(void);
MOCK_DECL(void, control_event_bootstrap_prob_or,(const char *warn,
int reason,
or_connection_t *or_conn));