summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-01-28 08:06:00 +0000
committerRoger Dingledine <arma@torproject.org>2007-01-28 08:06:00 +0000
commitf58678730cb099e0db6c535b8258cadbc10bc5f7 (patch)
tree13fdc1a613b00f7b9efe3b8c0ccb179a70e41e92 /src/or/or.h
parent1fea3a1e59ea1f16f5c42a9c69204454e2520e2a (diff)
downloadtor-f58678730cb099e0db6c535b8258cadbc10bc5f7.tar.gz
tor-f58678730cb099e0db6c535b8258cadbc10bc5f7.zip
there's such a thing as too much indirection
svn:r9451
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 798088740d..d068c26d2b 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2328,13 +2328,6 @@ void directory_post_to_dirservers(uint8_t purpose, const char *payload,
size_t payload_len);
void directory_get_from_dirserver(uint8_t purpose, const char *resource,
int retry_if_no_servers);
-void directory_initiate_command_router(routerinfo_t *router,
- int supports_begindir,
- uint8_t purpose,
- int private_connection,
- const char *resource,
- const char *payload,
- size_t payload_len);
void directory_initiate_command_routerstatus(routerstatus_t *status,
uint8_t purpose,
int private_connection,
@@ -2350,6 +2343,12 @@ 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_request_failed(dir_connection_t *conn);
+void directory_initiate_command(const char *address, uint32_t addr,
+ uint16_t dir_port, int supports_begindir,
+ const char *digest, uint8_t purpose,
+ int private_connection, const char *resource,
+ const char *payload, size_t payload_len);
+
int dir_split_resource_into_fingerprints(const char *resource,
smartlist_t *fp_out, int *compresseed_out,
int decode_hex, int sort_uniq);