diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-11 19:12:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-11 19:12:45 +0000 |
commit | 29f5a65a166cd06879ef55b7b5a38ae88c40482f (patch) | |
tree | 6ce6bde4a2ca017cb3fa8af85cf6752062694a16 /src/or/or.h | |
parent | 4e69284e8926554acd01c3beab72e26609c89926 (diff) | |
download | tor-29f5a65a166cd06879ef55b7b5a38ae88c40482f.tar tor-29f5a65a166cd06879ef55b7b5a38ae88c40482f.tar.gz |
Change directory_get_from_dirserver to take a set of flags to be passed to pick_(trusted_)dirserver. This lets us make its interface smarter, and makes code that calls it a little more readable.
svn:r17592
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 96af19e1f..0335afef4 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3220,7 +3220,7 @@ void directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose, size_t payload_len, size_t extrainfo_len); void directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, const char *resource, - int retry_if_no_servers); + int pds_flags); void directory_get_from_all_authorities(uint8_t dir_purpose, uint8_t router_purpose, const char *resource); |