diff options
author | unixninja92 <charles@unixninja92.com> | 2016-01-03 23:02:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-01-08 15:52:10 -0800 |
commit | 4f0e28977d6376ccba599e7089aeb9e3b4f25e5f (patch) | |
tree | 4eab9c52a3395e7976cb36335031e5caa55adf26 /src/or/hibernate.h | |
parent | cdbb04be102969bd2cece9daf42896e061cc8880 (diff) | |
download | tor-4f0e28977d6376ccba599e7089aeb9e3b4f25e5f.tar.gz tor-4f0e28977d6376ccba599e7089aeb9e3b4f25e5f.zip |
Added AccountRule in and AccountingRule out options
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 b9e619c5ad..e0d0c29bdb 100644 --- a/src/or/hibernate.h +++ b/src/or/hibernate.h @@ -19,6 +19,7 @@ MOCK_DECL(int, accounting_is_enabled, (const or_options_t *options)); int accounting_get_interval_length(void); MOCK_DECL(time_t, accounting_get_end_time, (void)); void configure_accounting(time_t now); +uint64_t get_accounting_bytes(void); void accounting_run_housekeeping(time_t now); void accounting_add_bytes(size_t n_read, size_t n_written, int seconds); int accounting_record_bandwidth_usage(time_t now, or_state_t *state); |