diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-07 02:46:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-07 02:46:16 +0000 |
commit | f6cc21874243b4d84a2db212e5c66058365bd7e7 (patch) | |
tree | edde9db07ea5ff6a3f28591302fea7caac8388f9 /src/or/or.h | |
parent | f47fe829dd722b502a186b9c437cf8f57bf55405 (diff) | |
download | tor-f6cc21874243b4d84a2db212e5c66058365bd7e7.tar tor-f6cc21874243b4d84a2db212e5c66058365bd7e7.tar.gz |
Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests.
svn:r2182
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index df69cc28f..7303031d6 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1262,7 +1262,8 @@ 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(int num_bytes, time_t when); void rep_hist_note_bytes_written(int num_bytes, time_t when); -int rep_hist_bandwidth_assess(time_t when); +int rep_hist_bandwidth_assess(void); +char *rep_hist_get_bandwidth_lines(void); /********************************* rendclient.c ***************************/ |