summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-09-26 18:02:48 +0000
committerNick Mathewson <nickm@torproject.org>2008-09-26 18:02:48 +0000
commite7e12236ac4f472d8fc5043334d2347a7c496a25 (patch)
tree45ffdca0d9bd55346a7e235eaea37d2292ac2a07 /src/or/or.h
parent283b95e463b57d2fdde1972fa152b7b3e9940a18 (diff)
downloadtor-e7e12236ac4f472d8fc5043334d2347a7c496a25.tar.gz
tor-e7e12236ac4f472d8fc5043334d2347a7c496a25.zip
Code to serve a current stability calculations from /tor/dbg-stability.txt. Untested: somebody please run this on an authority and let me know if it is broken.
svn:r16981
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index d21b30e5c6..f57dcfbd90 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3841,6 +3841,7 @@ double rep_hist_get_stability(const char *id, time_t when);
double rep_hist_get_weighted_fractional_uptime(const char *id, time_t when);
long rep_hist_get_weighted_time_known(const char *id, time_t when);
int rep_hist_have_measured_enough_stability(void);
+const char *rep_hist_get_router_stability_doc(time_t now);
void rep_hist_note_used_port(time_t now, uint16_t port);
smartlist_t *rep_hist_get_predicted_ports(time_t now);