|
@@ -25,6 +25,7 @@ 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);
|
|
int accounting_record_bandwidth_usage(time_t now, or_state_t *state);
|
|
|
void hibernate_begin_shutdown(void);
|
|
void hibernate_begin_shutdown(void);
|
|
|
MOCK_DECL(int, we_are_hibernating, (void));
|
|
MOCK_DECL(int, we_are_hibernating, (void));
|
|
|
|
|
+MOCK_DECL(int, we_are_fully_hibernating,(void));
|
|
|
void consider_hibernation(time_t now);
|
|
void consider_hibernation(time_t now);
|
|
|
int getinfo_helper_accounting(control_connection_t *conn,
|
|
int getinfo_helper_accounting(control_connection_t *conn,
|
|
|
const char *question, char **answer,
|
|
const char *question, char **answer,
|