summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 10:31:21 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 10:31:21 -0400
commit1416f54d1eb2651e6b82ccbe35585ce71378de8a (patch)
treed634752c0f3d1f2d2aefec21819d31874adad4a6 /src/test
parent3b917b2408748efb2ce84c2725e2e81ee0217e03 (diff)
downloadtor-1416f54d1eb2651e6b82ccbe35585ce71378de8a.tar.gz
tor-1416f54d1eb2651e6b82ccbe35585ce71378de8a.zip
Split dir_connection_t into its own header
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzz_http.c2
-rw-r--r--src/test/test_connection.c1
-rw-r--r--src/test/test_dir_handle_get.c1
-rw-r--r--src/test/test_entrynodes.c2
-rw-r--r--src/test/test_hs_cache.c2
-rw-r--r--src/test/test_hs_client.c1
-rw-r--r--src/test/test_oos.c2
-rw-r--r--src/test/test_routerlist.c3
8 files changed, 14 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_http.c b/src/test/fuzz/fuzz_http.c
index 2ffeb60244..e93204ea3e 100644
--- a/src/test/fuzz/fuzz_http.c
+++ b/src/test/fuzz/fuzz_http.c
@@ -14,6 +14,8 @@
#include "directory.h"
#include "torlog.h"
+#include "dir_connection_st.h"
+
#include "fuzzing.h"
static void
diff --git a/src/test/test_connection.c b/src/test/test_connection.c
index 05c4bb7f1f..79c5e2dd8f 100644
--- a/src/test/test_connection.c
+++ b/src/test/test_connection.c
@@ -24,6 +24,7 @@
#include "test_connection.h"
#include "test_helpers.h"
+#include "dir_connection_st.h"
#include "entry_connection_st.h"
static void * test_conn_get_basic_setup(const struct testcase_t *tc);
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index 4338bba657..188735a542 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -34,6 +34,7 @@
#include "log_test_helpers.h"
#include "voting_schedule.h"
+#include "dir_connection_st.h"
#include "dir_server_st.h"
#ifdef _WIN32
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index cfcb88a66e..d4939355d1 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -30,6 +30,8 @@
#include "statefile.h"
#include "util.h"
+#include "dir_connection_st.h"
+
#include "test_helpers.h"
#include "log_test_helpers.h"
diff --git a/src/test/test_hs_cache.c b/src/test/test_hs_cache.c
index 458ce1a92e..b2f892c7f2 100644
--- a/src/test/test_hs_cache.c
+++ b/src/test/test_hs_cache.c
@@ -18,6 +18,8 @@
#include "connection.h"
#include "proto_http.h"
+#include "dir_connection_st.h"
+
#include "hs_test_helpers.h"
#include "test_helpers.h"
#include "test.h"
diff --git a/src/test/test_hs_client.c b/src/test/test_hs_client.c
index 0828364e83..0420f70f84 100644
--- a/src/test/test_hs_client.c
+++ b/src/test/test_hs_client.c
@@ -37,6 +37,7 @@
#include "connection_edge.h"
#include "networkstatus.h"
+#include "dir_connection_st.h"
#include "entry_connection_st.h"
static int
diff --git a/src/test/test_oos.c b/src/test/test_oos.c
index e72fcf5de9..ddad5a08d0 100644
--- a/src/test/test_oos.c
+++ b/src/test/test_oos.c
@@ -12,6 +12,8 @@
#include "main.h"
#include "test.h"
+#include "dir_connection_st.h"
+
static or_options_t mock_options;
static void
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index 701227c1c7..d66f8933de 100644
--- a/src/test/test_routerlist.c
+++ b/src/test/test_routerlist.c
@@ -33,6 +33,9 @@
#include "routerparse.h"
#include "dirauth/shared_random.h"
#include "statefile.h"
+
+#include "dir_connection_st.h"
+
#include "test.h"
#include "test_dir_common.h"
#include "log_test_helpers.h"