diff options
author | Roger Dingledine <arma@torproject.org> | 2007-07-22 00:16:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-07-22 00:16:48 +0000 |
commit | 6fc336d217bf4e0ca654339810204c9cf45023ac (patch) | |
tree | 8ff8f0cde324e5ef1e57b3bf9df53bf585db90bd /src/or/or.h | |
parent | 56d3119581fc87cc096b9832de4aa1cd8ea1dc18 (diff) | |
download | tor-6fc336d217bf4e0ca654339810204c9cf45023ac.tar tor-6fc336d217bf4e0ca654339810204c9cf45023ac.tar.gz |
handle fetching bridge descriptors from the bridge authority too.
svn:r10898
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8df54314e..7a1ac3117 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2670,10 +2670,11 @@ int assign_to_cpuworker(connection_t *cpuworker, uint8_t question_type, /********************************* directory.c ***************************/ char *authority_type_to_string(authority_type_t auth); -void directory_post_to_dirservers(uint8_t purpose, authority_type_t type, - const char *payload, +void directory_post_to_dirservers(uint8_t dir_purpose, uint8_t router_purpose, + authority_type_t type, const char *payload, size_t payload_len, size_t extrainfo_len); -void directory_get_from_dirserver(uint8_t dir_purpose, const char *resource, +void directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, + const char *resource, int retry_if_no_servers); void directory_initiate_command_routerstatus(routerstatus_t *status, uint8_t dir_purpose, |