aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.h
diff options
context:
space:
mode:
authorPeter Retzlaff <peter.retzlaff@student.hpi.uni-potsdam.de>2013-06-12 10:51:39 +0200
committerNick Mathewson <nickm@torproject.org>2013-08-21 13:26:57 -0400
commita337d4b7cb9ae7f4e4ec4567b9efd64bbed70298 (patch)
tree43fb710e70706a1de7b02258b1e1170162dee355 /src/or/hibernate.h
parent28485d33ca64ee3989f6993a1c30f265be9e324f (diff)
downloadtor-a337d4b7cb9ae7f4e4ec4567b9efd64bbed70298.tar
tor-a337d4b7cb9ae7f4e4ec4567b9efd64bbed70298.tar.gz
Print accounting information in heartbeat messages.
Implements ticket 5526.
Diffstat (limited to 'src/or/hibernate.h')
-rw-r--r--src/or/hibernate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hibernate.h b/src/or/hibernate.h
index 18832fbc6..4f7331ce8 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);