summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-07-21 09:30:26 -0400
committerRoger Dingledine <arma@torproject.org>2010-07-21 09:30:26 -0400
commit1d6656fcb34f4939f806ae4fbe10e7c5bcd75b25 (patch)
tree5afae80d069041ee954cae7bec8b0547bc91df38 /src/or/or.h
parenta80ffbb6cc1ba13cefda741ef8fd55fe32946b1d (diff)
downloadtor-1d6656fcb34f4939f806ae4fbe10e7c5bcd75b25.tar.gz
tor-1d6656fcb34f4939f806ae4fbe10e7c5bcd75b25.zip
mike needs DEFAULT_ROUTE_LEN in other files
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 3418f53e1d..2321f2f3c2 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2958,6 +2958,9 @@ int buf_find_string_offset(const buf_t *buf, const char *s, size_t n);
/********************************* circuitbuild.c **********************/
+/** How many hops does a general-purpose circuit have by default? */
+#define DEFAULT_ROUTE_LEN 3
+
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,