diff options
author | Peter Retzlaff <peter.retzlaff@student.hpi.uni-potsdam.de> | 2013-06-12 10:51:39 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-21 13:26:57 -0400 |
commit | a337d4b7cb9ae7f4e4ec4567b9efd64bbed70298 (patch) | |
tree | 43fb710e70706a1de7b02258b1e1170162dee355 /src/or/hibernate.h | |
parent | 28485d33ca64ee3989f6993a1c30f265be9e324f (diff) | |
download | tor-a337d4b7cb9ae7f4e4ec4567b9efd64bbed70298.tar.gz tor-a337d4b7cb9ae7f4e4ec4567b9efd64bbed70298.zip |
Print accounting information in heartbeat messages.
Implements ticket 5526.
Diffstat (limited to 'src/or/hibernate.h')
-rw-r--r-- | src/or/hibernate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hibernate.h b/src/or/hibernate.h index 18832fbc6c..4f7331ce8c 100644 --- a/src/or/hibernate.h +++ b/src/or/hibernate.h @@ -15,6 +15,7 @@ int accounting_parse_options(const or_options_t *options, int validate_only); int accounting_is_enabled(const or_options_t *options); int accounting_get_interval_length(void); +time_t accounting_get_end_time(void); void configure_accounting(time_t now); void accounting_run_housekeeping(time_t now); void accounting_add_bytes(size_t n_read, size_t n_written, int seconds); |