diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-06-10 18:28:10 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-06-10 18:28:10 +0000 |
commit | b87a7760e03c81d1c9a853b29863f92f1a50596d (patch) | |
tree | c9ce7fc041498abb95e6a863a2749510b55bd59a /src/or/or.h | |
parent | d0a4ad3a1cda334f5213b5abdd4d15483d3eb805 (diff) | |
download | tor-b87a7760e03c81d1c9a853b29863f92f1a50596d.tar.gz tor-b87a7760e03c81d1c9a853b29863f92f1a50596d.zip |
r16129@tombo: nickm | 2008-06-10 14:28:06 -0400
More geoip tweaks. Include in the file a rough estimator of our total share.
svn:r15099
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 3b7c6b5912..c85242cc4b 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3967,6 +3967,8 @@ routerstatus_t *router_pick_directory_server(authority_type_t type, int flags); trusted_dir_server_t *router_get_trusteddirserver_by_digest(const char *d); trusted_dir_server_t *trusteddirserver_get_by_v3_auth_digest(const char *d); routerstatus_t *router_pick_trusteddirserver(authority_type_t type, int flags); +int router_get_my_share_of_directory_requests(double *v2_share_out, + double *v3_share_out); void router_reset_status_download_failures(void); void routerlist_add_family(smartlist_t *sl, routerinfo_t *router); int routers_in_same_family(routerinfo_t *r1, routerinfo_t *r2); |