summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-21 14:31:35 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-21 14:31:35 -0400
commitc300fd7e65b699c3d2704737cd0c73276ca0a346 (patch)
tree54786454ba7ab18c690b4f40b29b904a5189dfac /src/or/directory.h
parenta55bd00b0f41afca767a57e2da4a3dc6a26d2110 (diff)
downloadtor-c300fd7e65b699c3d2704737cd0c73276ca0a346.tar.gz
tor-c300fd7e65b699c3d2704737cd0c73276ca0a346.zip
Have directory_get_from_all_authorities use requests.
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 5d27767051..56bbfe4b4b 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -91,7 +91,7 @@ void directory_initiate_command_routerstatus_rend(const routerstatus_t *status,
const rend_data_t *rend_query,
struct circuit_guard_state_t *guard_state);
-void directory_initiate_request(directory_request_t *request);
+MOCK_DECL(void, directory_initiate_request, (directory_request_t *request));
int parse_http_response(const char *headers, int *code, time_t *date,
compress_method_t *compression, char **response);