aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-07-07 18:04:00 +0200
committerRoger Dingledine <arma@torproject.org>2009-07-27 23:53:06 -0400
commit3e454451045ae032f0e78e48f8f72c1592cc0658 (patch)
tree77389fabf0033bc96f7e7342977b0610f0e02471 /src/or/or.h
parenta73acdd46f946a18f678167f2f8083cac18ebe01 (diff)
downloadtor-3e454451045ae032f0e78e48f8f72c1592cc0658.tar.gz
tor-3e454451045ae032f0e78e48f8f72c1592cc0658.zip
Changing MaxAdvertisedBW may not need a republish
Relays no longer publish a new server descriptor if they change their MaxAdvertisedBandwidth config option but it doesn't end up changing their advertised bandwidth numbers. Bugfix on 0.2.0.28-rc; fixes bug 1026. Patch from Sebastian.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index fba7af0da0..1dcff28d6d 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2926,6 +2926,9 @@ int options_need_geoip_info(or_options_t *options, const char **reason_out);
int getinfo_helper_config(control_connection_t *conn,
const char *question, char **answer);
+int get_effective_bwrate(or_options_t *options);
+int get_effective_bwburst(or_options_t *options);
+
#ifdef CONFIG_PRIVATE
/* Used only by config.c and test.c */
or_options_t *options_new(void);