diff options
author | Roger Dingledine <arma@torproject.org> | 2007-08-25 21:42:31 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-08-25 21:42:31 +0000 |
commit | 7d9051940ac98a8290664704a8e416a59146b11c (patch) | |
tree | 26acbff71b61483a625060e64ca8ba27b97d6230 /src/or/or.h | |
parent | 26bdb03d28534e12d137d31e3809afd4cfb69f2e (diff) | |
download | tor-7d9051940ac98a8290664704a8e416a59146b11c.tar.gz tor-7d9051940ac98a8290664704a8e416a59146b11c.zip |
backport the load balancing stuff. man, i hope i got all
of this right. other people should check too.
svn:r11274
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index c52992d7b6..e3334996f9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2903,7 +2903,8 @@ routerinfo_t *router_find_exact_exit_enclave(const char *address, int router_is_unreliable(routerinfo_t *router, int need_uptime, int need_capacity, int need_guard); uint32_t router_get_advertised_bandwidth(routerinfo_t *router); -routerinfo_t *routerlist_sl_choose_by_bandwidth(smartlist_t *sl, int for_exit); +routerinfo_t *routerlist_sl_choose_by_bandwidth(smartlist_t *sl, int for_exit, + int for_guard); routerstatus_t *routerstatus_sl_choose_by_bandwidth(smartlist_t *sl); routerinfo_t *router_choose_random_node(const char *preferred, |