aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-08-18 10:06:14 -0400
committerNick Mathewson <nickm@torproject.org>2010-08-18 10:06:14 -0400
commita509dbba504f7b5e2c1d93bad25e500493b06fb5 (patch)
tree07a6cd25208b82373b470e9160683df514debf81 /src/or/rephist.h
parentd5c83f201441f2582dd074729d2ccdce90b1243e (diff)
parent58b6195455bcb173d260558e84e642c52d344c2f (diff)
downloadtor-a509dbba504f7b5e2c1d93bad25e500493b06fb5.tar
tor-a509dbba504f7b5e2c1d93bad25e500493b06fb5.tar.gz
Merge commit 'karsten/dirbytes2'
Conflicts: src/or/rephist.h
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r--src/or/rephist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h
index 02ab2f1cb..c3914dcaf 100644
--- a/src/or/rephist.h
+++ b/src/or/rephist.h
@@ -23,6 +23,10 @@ void rep_hist_note_extend_failed(const char *from_name, const char *to_name);
void rep_hist_dump_stats(time_t now, int severity);
void rep_hist_note_bytes_read(size_t num_bytes, time_t when);
void rep_hist_note_bytes_written(size_t num_bytes, time_t when);
+
+void rep_hist_note_dir_bytes_read(size_t num_bytes, time_t when);
+void rep_hist_note_dir_bytes_written(size_t num_bytes, time_t when);
+
int rep_hist_bandwidth_assess(void);
char *rep_hist_get_bandwidth_lines(int for_extrainfo);
void rep_hist_update_state(or_state_t *state);