summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-07 17:47:10 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-16 04:03:45 +1100
commitd3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5 (patch)
treee4f8998e714512b00925d2cbc013e370908cb94d /src/or/directory.h
parentdf0c135d62ab1619843f7825ccd5ad697f6afdcb (diff)
downloadtor-d3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5.tar.gz
tor-d3546aa92bf5c7c1435381b33a42f2a4a3d3c2f5.zip
Prop210: Add want_authority to directory_get_from_dirserver
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 427183cac9..bdcc1a23c6 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -16,10 +16,12 @@ int directories_have_accepted_server_descriptor(void);
void directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose,
dirinfo_type_t type, const char *payload,
size_t payload_len, size_t extrainfo_len);
-MOCK_DECL(void, directory_get_from_dirserver, (uint8_t dir_purpose,
- uint8_t router_purpose,
- const char *resource,
- int pds_flags));
+MOCK_DECL(void, directory_get_from_dirserver, (
+ uint8_t dir_purpose,
+ uint8_t router_purpose,
+ const char *resource,
+ int pds_flags,
+ download_want_authority_t want_authority));
void directory_get_from_all_authorities(uint8_t dir_purpose,
uint8_t router_purpose,
const char *resource);