aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-25 14:29:06 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-25 14:29:06 -0400
commit1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2 (patch)
treeb53afb27b4ab30c2913ac5e4fba69e8f319fdbc7 /src/or/main.h
parent20136a8207f0cda0d23093a884caae0358f98bac (diff)
parent9a09513c0bd54abae3317be4136cf2578e11fbf3 (diff)
downloadtor-1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2.tar.gz
tor-1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2.zip
Merge remote-tracking branch 'andrea/ticket18640_v3'
Diffstat (limited to 'src/or/main.h')
-rw-r--r--src/or/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.h b/src/or/main.h
index 31a22de424..0220ae3c57 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -25,7 +25,7 @@ int connection_in_array(connection_t *conn);
void add_connection_to_closeable_list(connection_t *conn);
int connection_is_on_closeable_list(connection_t *conn);
-smartlist_t *get_connection_array(void);
+MOCK_DECL(smartlist_t *, get_connection_array, (void));
MOCK_DECL(uint64_t,get_bytes_read,(void));
MOCK_DECL(uint64_t,get_bytes_written,(void));
@@ -47,6 +47,8 @@ MOCK_DECL(void,connection_start_writing,(connection_t *conn));
void connection_stop_reading_from_linked_conn(connection_t *conn);
+MOCK_DECL(int, connection_count_moribund, (void));
+
void directory_all_unreachable(time_t now);
void directory_info_has_arrived(time_t now, int from_cache, int suppress_logs);