summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2017-12-22 06:35:29 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-01-19 22:21:49 +0000
commit489628a7e4ae716b78a9515fd36d54cca5353272 (patch)
treed112aacb3b29d7a7c67d665d12ccff6a91dcf875 /src/or/circuitbuild.h
parent86ee771c28777141ee5eec30fa9739a7cec32981 (diff)
downloadtor-489628a7e4ae716b78a9515fd36d54cca5353272.tar.gz
tor-489628a7e4ae716b78a9515fd36d54cca5353272.zip
Bug 23101: Pre-build HS-specific circuits (instead of general).
Prebuilt circs are 4 hops, since only server side HSDIR and intro circs are 3 hops, and it is OK if those sometimes take longer to build.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r--src/or/circuitbuild.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index a85ef672f9..1014477663 100644
--- a/src/or/circuitbuild.h
+++ b/src/or/circuitbuild.h
@@ -12,6 +12,7 @@
#ifndef TOR_CIRCUITBUILD_H
#define TOR_CIRCUITBUILD_H
+int route_len_for_purpose(uint8_t purpose, extend_info_t *exit_ei);
char *circuit_list_path(origin_circuit_t *circ, int verbose);
char *circuit_list_path_for_controller(origin_circuit_t *circ);
void circuit_log_path(int severity, unsigned int domain,