summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-02 04:39:45 +0000
committerAndrea Shepard <andrea@torproject.org>2016-08-20 01:43:51 +0000
commit26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7 (patch)
treea110fe894622639b882a836914e4845c5fee9e53 /src/or/connection.h
parent709f2cbf58c0acc4c84035dadc6be4846b5d3f3e (diff)
downloadtor-26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7.tar.gz
tor-26c2ded00cfcf1c86ebe10a65b6de0af0e5b76c7.zip
Unit test for connection_handle_oos()
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 4e8a740601..83ee76932b 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -267,6 +267,9 @@ MOCK_DECL(STATIC int,connection_connect_sockaddr,
const struct sockaddr *bindaddr,
socklen_t bindaddr_len,
int *socket_error));
+MOCK_DECL(STATIC void, kill_conn_list_for_oos, (smartlist_t *conns));
+MOCK_DECL(STATIC smartlist_t *, pick_oos_victims, (int n));
+
#endif
#endif