diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-07-22 12:30:46 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-07-27 07:58:16 +0200 |
commit | a86f464f6b04e2f592d3e8dcbd2b26414a36e971 (patch) | |
tree | 8e34d5453a82b08f3310d4fc3edee674c1c0d432 /src/or/or.h | |
parent | dc2f1666ff5285823ad6c7e3df59b8022aff936c (diff) | |
download | tor-a86f464f6b04e2f592d3e8dcbd2b26414a36e971.tar.gz tor-a86f464f6b04e2f592d3e8dcbd2b26414a36e971.zip |
Create hibernate.h
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/or/or.h b/src/or/or.h index 828908e666..550331fce7 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3268,22 +3268,6 @@ typedef enum { DIRREQ_OR_CONN_BUFFER_FLUSHED = 4 } dirreq_state_t; -/********************************* hibernate.c **********************/ - -int accounting_parse_options(or_options_t *options, int validate_only); -int accounting_is_enabled(or_options_t *options); -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); -int accounting_record_bandwidth_usage(time_t now, or_state_t *state); -void hibernate_begin_shutdown(void); -int we_are_hibernating(void); -void consider_hibernation(time_t now); -int getinfo_helper_accounting(control_connection_t *conn, - const char *question, char **answer, - const char **errmsg); -void accounting_set_bandwidth_usage_from_state(or_state_t *state); - /********************************* main.c ***************************/ extern int has_completed_circuit; |