diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-15 10:07:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-15 10:10:24 -0400 |
commit | 5d5c442e6ad726382c7b8efc0e999825a783bd9e (patch) | |
tree | b840edeb2e62fe8a04b7735bdbec90ebd575c268 /src/test | |
parent | 2a574d11ac8747996dcb979b04e38b16c5a0a9de (diff) | |
download | tor-5d5c442e6ad726382c7b8efc0e999825a783bd9e.tar.gz tor-5d5c442e6ad726382c7b8efc0e999825a783bd9e.zip |
Split entry and edge_connection_t into their own headers.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/fuzz_http_connect.c | 2 | ||||
-rw-r--r-- | src/test/test_connection.c | 3 | ||||
-rw-r--r-- | src/test/test_dns.c | 2 | ||||
-rw-r--r-- | src/test/test_entryconn.c | 2 | ||||
-rw-r--r-- | src/test/test_hs_client.c | 2 | ||||
-rw-r--r-- | src/test/test_oom.c | 2 | ||||
-rw-r--r-- | src/test/test_relaycell.c | 2 |
7 files changed, 15 insertions, 0 deletions
diff --git a/src/test/fuzz/fuzz_http_connect.c b/src/test/fuzz/fuzz_http_connect.c index dc674070b2..4b1ea8c721 100644 --- a/src/test/fuzz/fuzz_http_connect.c +++ b/src/test/fuzz/fuzz_http_connect.c @@ -15,6 +15,8 @@ #include "proto_socks.h" #include "torlog.h" +#include "entry_connection_st.h" + #include "fuzzing.h" static void diff --git a/src/test/test_connection.c b/src/test/test_connection.c index dc0f6860d9..05c4bb7f1f 100644 --- a/src/test/test_connection.c +++ b/src/test/test_connection.c @@ -11,6 +11,7 @@ #include "test.h" #include "connection.h" +#include "connection_edge.h" #include "hs_common.h" #include "main.h" #include "microdesc.h" @@ -23,6 +24,8 @@ #include "test_connection.h" #include "test_helpers.h" +#include "entry_connection_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, void *arg); diff --git a/src/test/test_dns.c b/src/test/test_dns.c index 1fee01d2c0..c472b97900 100644 --- a/src/test/test_dns.c +++ b/src/test/test_dns.c @@ -10,6 +10,8 @@ #include "connection.h" #include "router.h" +#include "edge_connection_st.h" + #define NS_MODULE dns #define NS_SUBMODULE clip_ttl diff --git a/src/test/test_entryconn.c b/src/test/test_entryconn.c index 9d8a072c77..ec8d7196ec 100644 --- a/src/test/test_entryconn.c +++ b/src/test/test_entryconn.c @@ -19,6 +19,8 @@ #include "hs_cache.h" #include "rendcache.h" +#include "entry_connection_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 50dca588ed..0828364e83 100644 --- a/src/test/test_hs_client.c +++ b/src/test/test_hs_client.c @@ -37,6 +37,8 @@ #include "connection_edge.h" #include "networkstatus.h" +#include "entry_connection_st.h" + static int mock_connection_ap_handshake_send_begin(entry_connection_t *ap_conn) { diff --git a/src/test/test_oom.c b/src/test/test_oom.c index abf8896452..98935fe455 100644 --- a/src/test/test_oom.c +++ b/src/test/test_oom.c @@ -18,6 +18,8 @@ #include "test.h" #include "test_helpers.h" +#include "entry_connection_st.h" + /* small replacement mock for circuit_mark_for_close_ to avoid doing all * the other bookkeeping that comes with marking circuits. */ static void diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c index 841174982c..b4cb9d4bbc 100644 --- a/src/test/test_relaycell.c +++ b/src/test/test_relaycell.c @@ -16,6 +16,8 @@ #include "relay.h" #include "test.h" +#include "entry_connection_st.h" + static int srm_ncalls; static entry_connection_t *srm_conn; static int srm_atype; |