diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-20 01:48:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-20 01:48:05 +0000 |
commit | da9d5ccfdada2b7f306b3da047b1871e117ac5fe (patch) | |
tree | fb7c828a6096626b8aaeab75a73e579e1225a97e /src/or/or.h | |
parent | b0ef4e1143619e0beb2388f523c7dce39d5bc6ed (diff) | |
download | tor-da9d5ccfdada2b7f306b3da047b1871e117ac5fe.tar tor-da9d5ccfdada2b7f306b3da047b1871e117ac5fe.tar.gz |
Add initial history-tracking backend code for reputation module. Not called or tested yet.
svn:r1310
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8efbba62f..154df4a58 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -900,6 +900,18 @@ void directory_set_dirty(); size_t dirserv_get_directory(const char **cp); +/********************************* rephist.c ***************************/ + +void rep_hist_init(void); +void rep_hist_note_connect_failed(const char* nickname, time_t when); +void rep_hist_note_connect_succeeded(const char* nickname, time_t when); +void rep_hist_note_connection_died(const char* nickname, time_t when); +void rep_hist_note_extend_succeeded(const char *from_name, + const char *to_name); +void rep_hist_note_extend_failed(const char *from_name, const char *to_name); +void rep_hist_dump_status(time_t now); + + #endif /* |