summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-21 15:14:52 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-21 15:14:52 -0400
commit3327e675fdb16b2109fb384cbc030ed3d4c86442 (patch)
tree007874e26c07948efd46a050710e4c13f5e5c3e6 /src/or/directory.h
parent8aadd60eac6d2b4feb176e34805b4bd5a8b77aed (diff)
downloadtor-3327e675fdb16b2109fb384cbc030ed3d4c86442.tar.gz
tor-3327e675fdb16b2109fb384cbc030ed3d4c86442.zip
Remove old directory_initiate_command_*() functions.
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 56bbfe4b4b..7399b706ad 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -69,28 +69,6 @@ void directory_request_set_guard_state(directory_request_t *req,
void directory_request_set_routerstatus(directory_request_t *req,
const routerstatus_t *rs);
-MOCK_DECL(void, directory_initiate_command_routerstatus,
- (const routerstatus_t *status,
- uint8_t dir_purpose,
- uint8_t router_purpose,
- dir_indirection_t indirection,
- const char *resource,
- const char *payload,
- size_t payload_len,
- time_t if_modified_since,
- struct circuit_guard_state_t *guard_state));
-
-void directory_initiate_command_routerstatus_rend(const routerstatus_t *status,
- uint8_t dir_purpose,
- uint8_t router_purpose,
- dir_indirection_t indirection,
- const char *resource,
- const char *payload,
- size_t payload_len,
- time_t if_modified_since,
- const rend_data_t *rend_query,
- struct circuit_guard_state_t *guard_state);
-
MOCK_DECL(void, directory_initiate_request, (directory_request_t *request));
int parse_http_response(const char *headers, int *code, time_t *date,
@@ -102,14 +80,6 @@ int connection_dir_process_inbuf(dir_connection_t *conn);
int connection_dir_finished_flushing(dir_connection_t *conn);
int connection_dir_finished_connecting(dir_connection_t *conn);
void connection_dir_about_to_close(dir_connection_t *dir_conn);
-void directory_initiate_command(const tor_addr_t *or_addr, uint16_t or_port,
- const tor_addr_t *dir_addr, uint16_t dir_port,
- const char *digest,
- uint8_t dir_purpose, uint8_t router_purpose,
- dir_indirection_t indirection,
- const char *resource,
- const char *payload, size_t payload_len,
- time_t if_modified_since);
#define DSR_HEX (1<<0)
#define DSR_BASE64 (1<<1)