aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-02 12:56:45 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-02 12:56:45 -0400
commit0a4a3de3def27a7c7f8a514546b33662d0cfe6c5 (patch)
tree3872a4bd54487de1985fa8d35baa83b5ced627a8 /src/or/router.h
parent9ac2f63e0f3f1fd333b23ee6e6c02ae7cf0f71d2 (diff)
parentdf42eb0a18a9f6fe4b729a1c9a63bb6ab247f631 (diff)
downloadtor-0a4a3de3def27a7c7f8a514546b33662d0cfe6c5.tar.gz
tor-0a4a3de3def27a7c7f8a514546b33662d0cfe6c5.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: src/or/dirserv.c
Diffstat (limited to 'src/or/router.h')
-rw-r--r--src/or/router.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.h b/src/or/router.h
index e208eb1228..dc9ab5e9ee 100644
--- a/src/or/router.h
+++ b/src/or/router.h
@@ -51,7 +51,8 @@ int authdir_mode_tests_reachability(or_options_t *options);
int authdir_mode_bridge(or_options_t *options);
uint16_t router_get_advertised_or_port(or_options_t *options);
-uint16_t router_get_advertised_dir_port(or_options_t *options);
+uint16_t router_get_advertised_dir_port(or_options_t *options,
+ uint16_t dirport);
int server_mode(or_options_t *options);
int public_server_mode(or_options_t *options);