aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-01-29 15:17:05 -0500
committerNick Mathewson <nickm@torproject.org>2014-01-29 15:17:05 -0500
commit3193cbe2bab9749f0e3cb48a31f6c1c8c61707a7 (patch)
tree72ce97eb89ecf28cced0f2098f1d23b4bc2f4283 /src/or/routerlist.h
parent4fe253ef40a96dbfb978752e9d2833e8b491ca28 (diff)
downloadtor-3193cbe2bab9749f0e3cb48a31f6c1c8c61707a7.tar.gz
tor-3193cbe2bab9749f0e3cb48a31f6c1c8c61707a7.zip
Rip out all of the v2 directory code.
The remaining vestige is that we continue to publish the V2dir flag, and that, for the controller, we continue to emit v2 directory formats when requested.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 0162297ca7..cfa8683861 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -54,8 +54,7 @@ const routerstatus_t *router_pick_trusteddirserver(dirinfo_type_t type,
int flags);
const routerstatus_t *router_pick_fallback_dirserver(dirinfo_type_t type,
int flags);
-int router_get_my_share_of_directory_requests(double *v2_share_out,
- double *v3_share_out);
+int router_get_my_share_of_directory_requests(double *v3_share_out);
void router_reset_status_download_failures(void);
int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2);
const routerinfo_t *routerlist_find_my_routerinfo(void);