summaryrefslogtreecommitdiff
path: root/src/feature/stats/rephist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
commit241c1505ccb4a501c1b56af7b6e12e055db29e09 (patch)
tree9cb06190b6ee07cf2c7347540912b05051d41d0f /src/feature/stats/rephist.h
parentde0b07c634c45297bad794567cb44ab91988b0ca (diff)
downloadtor-241c1505ccb4a501c1b56af7b6e12e055db29e09.tar.gz
tor-241c1505ccb4a501c1b56af7b6e12e055db29e09.zip
Move the predicted ports code out of rephist.c
It differs from the rest of the rephist code in that it's actually necessary for Tor to operate, so it should probably go somewhere else. I'm not sure where yet, so I'll leave it in the same directory, but give it its own file.
Diffstat (limited to 'src/feature/stats/rephist.h')
-rw-r--r--src/feature/stats/rephist.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/feature/stats/rephist.h b/src/feature/stats/rephist.h
index 842184f815..0584b4684a 100644
--- a/src/feature/stats/rephist.h
+++ b/src/feature/stats/rephist.h
@@ -41,20 +41,6 @@ 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);
-void predicted_ports_init(void);
-void rep_hist_note_used_port(time_t now, uint16_t port);
-smartlist_t *rep_hist_get_predicted_ports(time_t now);
-void rep_hist_remove_predicted_ports(const smartlist_t *rmv_ports);
-void rep_hist_note_used_resolve(time_t now);
-void rep_hist_note_used_internal(time_t now, int need_uptime,
- int need_capacity);
-int rep_hist_get_predicted_internal(time_t now, int *need_uptime,
- int *need_capacity);
-
-int any_predicted_circuits(time_t now);
-int rep_hist_circbuilding_dormant(time_t now);
-int predicted_ports_prediction_time_remaining(time_t now);
-
void rep_hist_exit_stats_init(time_t now);
void rep_hist_reset_exit_stats(time_t now);
void rep_hist_exit_stats_term(void);