diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-10 15:55:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-06 11:27:20 -0500 |
commit | 705ee3b5d4c3a11ffbb68a305a7bf0d081198500 (patch) | |
tree | d4589b02c5633ff9b3ee5f7732b901f486dd8510 /src/or/routerlist.h | |
parent | ded70363a71ab52b965998c90587fb398e5048f0 (diff) | |
download | tor-705ee3b5d4c3a11ffbb68a305a7bf0d081198500.tar.gz tor-705ee3b5d4c3a11ffbb68a305a7bf0d081198500.zip |
Rename trusted_dir_server_t to dir_server_t. Automatic renaming.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index de722bc24f..95867552c2 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -30,10 +30,10 @@ const smartlist_t *router_get_fallback_dir_servers(void); const routerstatus_t *router_pick_directory_server(dirinfo_type_t type, int flags); -trusted_dir_server_t *router_get_trusteddirserver_by_digest(const char *d); -trusted_dir_server_t *router_get_fallback_dirserver_by_digest( +dir_server_t *router_get_trusteddirserver_by_digest(const char *d); +dir_server_t *router_get_fallback_dirserver_by_digest( const char *digest); -trusted_dir_server_t *trusteddirserver_get_by_v3_auth_digest(const char *d); +dir_server_t *trusteddirserver_get_by_v3_auth_digest(const char *d); const routerstatus_t *router_pick_trusteddirserver(dirinfo_type_t type, int flags); const routerstatus_t *router_pick_fallback_dirserver(dirinfo_type_t type, @@ -132,7 +132,7 @@ void router_load_extrainfo_from_string(const char *s, const char *eos, void routerlist_retry_directory_downloads(time_t now); int router_exit_policy_rejects_all(const routerinfo_t *router); -trusted_dir_server_t *add_trusted_dir_server(const char *nickname, +dir_server_t *add_trusted_dir_server(const char *nickname, const char *address, uint16_t dir_port, uint16_t or_port, const char *digest, const char *v3_auth_digest, |