diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-15 10:48:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-15 10:48:50 -0400 |
commit | 19c34b46589492be3fe19bed7e5729c1c7d231f1 (patch) | |
tree | 7b3f18847324e572eae5bf087ae3778dd53e45f8 /src/test | |
parent | 6c0fe9d07c40ce453b5c9c7a60cbfd13bf3ca6d7 (diff) | |
download | tor-19c34b46589492be3fe19bed7e5729c1c7d231f1.tar.gz tor-19c34b46589492be3fe19bed7e5729c1c7d231f1.zip |
Move or_connection_t to its own header.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_channelpadding.c | 2 | ||||
-rw-r--r-- | src/test/test_channeltls.c | 2 | ||||
-rw-r--r-- | src/test/test_connection.c | 1 | ||||
-rw-r--r-- | src/test/test_dos.c | 3 | ||||
-rw-r--r-- | src/test/test_extorport.c | 3 | ||||
-rw-r--r-- | src/test/test_link_handshake.c | 2 | ||||
-rw-r--r-- | src/test/test_oos.c | 1 |
7 files changed, 14 insertions, 0 deletions
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index 2c803c3443..b8e3492eaa 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -20,6 +20,8 @@ #include "networkstatus.h" #include "log_test_helpers.h" +#include "or_connection_st.h" + int channelpadding_get_netflow_inactive_timeout_ms(channel_t *chan); int64_t channelpadding_compute_time_until_pad_for_netflow(channel_t *chan); int channelpadding_send_disable_command(channel_t*); diff --git a/src/test/test_channeltls.c b/src/test/test_channeltls.c index 94f1893cae..0f134f1e70 100644 --- a/src/test/test_channeltls.c +++ b/src/test/test_channeltls.c @@ -17,6 +17,8 @@ #include "scheduler.h" #include "tortls.h" +#include "or_connection_st.h" + /* Test suite stuff */ #include "test.h" #include "fakechans.h" diff --git a/src/test/test_connection.c b/src/test/test_connection.c index 79c5e2dd8f..9f50d9f845 100644 --- a/src/test/test_connection.c +++ b/src/test/test_connection.c @@ -26,6 +26,7 @@ #include "dir_connection_st.h" #include "entry_connection_st.h" +#include "or_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, diff --git a/src/test/test_dos.c b/src/test/test_dos.c index 8ae967f3ae..fcc537499a 100644 --- a/src/test/test_dos.c +++ b/src/test/test_dos.c @@ -15,6 +15,9 @@ #include "networkstatus.h" #include "nodelist.h" #include "routerlist.h" + +#include "or_connection_st.h" + #include "test.h" #include "log_test_helpers.h" diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c index e05342cb8a..77874a74e2 100644 --- a/src/test/test_extorport.c +++ b/src/test/test_extorport.c @@ -13,6 +13,9 @@ #include "crypto_rand.h" #include "ext_orport.h" #include "main.h" + +#include "or_connection_st.h" + #include "test.h" /* Test connection_or_remove_from_ext_or_id_map and diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index 6840072d76..94e784cdc2 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -21,6 +21,8 @@ #include "scheduler.h" #include "torcert.h" +#include "or_connection_st.h" + #include "test.h" #include "log_test_helpers.h" diff --git a/src/test/test_oos.c b/src/test/test_oos.c index ddad5a08d0..b341918030 100644 --- a/src/test/test_oos.c +++ b/src/test/test_oos.c @@ -13,6 +13,7 @@ #include "test.h" #include "dir_connection_st.h" +#include "or_connection_st.h" static or_options_t mock_options; |