aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 13:01:50 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 13:01:50 -0400
commit8b7df723596d068cbf91abf7535651ab8445810b (patch)
tree8efe39a8d759c0069ac2eeed0840260af394bf59 /src/test
parentad52fe7e88754fd8c7c1eb3da9bbf593d7752af9 (diff)
downloadtor-8b7df723596d068cbf91abf7535651ab8445810b.tar.gz
tor-8b7df723596d068cbf91abf7535651ab8445810b.zip
Split socks_request_t into its own header.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzz_http_connect.c1
-rw-r--r--src/test/test_connection.c1
-rw-r--r--src/test/test_entryconn.c1
-rw-r--r--src/test/test_hs_client.c1
-rw-r--r--src/test/test_relaycell.c1
-rw-r--r--src/test/test_socks.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_http_connect.c b/src/test/fuzz/fuzz_http_connect.c
index 4b1ea8c721..255a34169c 100644
--- a/src/test/fuzz/fuzz_http_connect.c
+++ b/src/test/fuzz/fuzz_http_connect.c
@@ -16,6 +16,7 @@
#include "torlog.h"
#include "entry_connection_st.h"
+#include "socks_request_st.h"
#include "fuzzing.h"
diff --git a/src/test/test_connection.c b/src/test/test_connection.c
index 9f50d9f845..93d5dc8469 100644
--- a/src/test/test_connection.c
+++ b/src/test/test_connection.c
@@ -27,6 +27,7 @@
#include "dir_connection_st.h"
#include "entry_connection_st.h"
#include "or_connection_st.h"
+#include "socks_request_st.h"
static void * test_conn_get_basic_setup(const struct testcase_t *tc);
static int test_conn_get_basic_teardown(const struct testcase_t *tc,
diff --git a/src/test/test_entryconn.c b/src/test/test_entryconn.c
index ec8d7196ec..1c1eda02f1 100644
--- a/src/test/test_entryconn.c
+++ b/src/test/test_entryconn.c
@@ -20,6 +20,7 @@
#include "rendcache.h"
#include "entry_connection_st.h"
+#include "socks_request_st.h"
static void *
entryconn_rewrite_setup(const struct testcase_t *tc)
diff --git a/src/test/test_hs_client.c b/src/test/test_hs_client.c
index 98e95be09a..b75e743d3c 100644
--- a/src/test/test_hs_client.c
+++ b/src/test/test_hs_client.c
@@ -42,6 +42,7 @@
#include "dir_connection_st.h"
#include "entry_connection_st.h"
#include "origin_circuit_st.h"
+#include "socks_request_st.h"
static int
mock_connection_ap_handshake_send_begin(entry_connection_t *ap_conn)
diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 0d78f97d8b..b5aba766d9 100644
--- a/src/test/test_relaycell.c
+++ b/src/test/test_relaycell.c
@@ -19,6 +19,7 @@
#include "crypt_path_st.h"
#include "entry_connection_st.h"
#include "origin_circuit_st.h"
+#include "socks_request_st.h"
static int srm_ncalls;
static entry_connection_t *srm_conn;
diff --git a/src/test/test_socks.c b/src/test/test_socks.c
index 8da7191e82..6c266438e8 100644
--- a/src/test/test_socks.c
+++ b/src/test/test_socks.c
@@ -9,6 +9,7 @@
#include "proto_socks.h"
#include "test.h"
#include "log_test_helpers.h"
+#include "socks_request_st.h"
typedef struct socks_test_data_t {
socks_request_t *req;