summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 14:33:03 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 14:33:03 -0400
commitdef1f20e1f9e4544eaf2c0e387b240ec52958a9e (patch)
treedf4eb46677339a59c113d5f9ac6371c9efc2af8f /src/test
parent00f1d1653e4ff703cfbcf82060b229ca8a39030d (diff)
downloadtor-def1f20e1f9e4544eaf2c0e387b240ec52958a9e.tar.gz
tor-def1f20e1f9e4544eaf2c0e387b240ec52958a9e.zip
Extract routerstatus_t into its own header.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_address_set.c1
-rw-r--r--src/test/test_channel.c1
-rw-r--r--src/test/test_channelpadding.c1
-rw-r--r--src/test/test_dos.c1
-rw-r--r--src/test/test_entrynodes.c1
-rw-r--r--src/test/test_hs_common.c1
-rw-r--r--src/test/test_hs_control.c1
-rw-r--r--src/test/test_microdesc.c1
-rw-r--r--src/test/test_nodelist.c1
-rw-r--r--src/test/test_policy.c1
-rw-r--r--src/test/test_routerlist.c1
-rw-r--r--src/test/test_routerset.c1
12 files changed, 12 insertions, 0 deletions
diff --git a/src/test/test_address_set.c b/src/test/test_address_set.c
index 441d14927d..a704e6fb3e 100644
--- a/src/test/test_address_set.c
+++ b/src/test/test_address_set.c
@@ -11,6 +11,7 @@
#include "torcert.h"
#include "networkstatus_st.h"
+#include "routerstatus_st.h"
#include "test.h"
diff --git a/src/test/test_channel.c b/src/test/test_channel.c
index 8177f92a1a..fbc964ecc0 100644
--- a/src/test/test_channel.c
+++ b/src/test/test_channel.c
@@ -22,6 +22,7 @@
#include "networkstatus_st.h"
#include "origin_circuit_st.h"
+#include "routerstatus_st.h"
/* Test suite stuff */
#include "log_test_helpers.h"
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c
index 2b4ff59a32..206b57ad1a 100644
--- a/src/test/test_channelpadding.c
+++ b/src/test/test_channelpadding.c
@@ -22,6 +22,7 @@
#include "networkstatus_st.h"
#include "or_connection_st.h"
+#include "routerstatus_st.h"
int channelpadding_get_netflow_inactive_timeout_ms(channel_t *chan);
int64_t channelpadding_compute_time_until_pad_for_netflow(channel_t *chan);
diff --git a/src/test/test_dos.c b/src/test/test_dos.c
index 7145339084..bc77bd8cd6 100644
--- a/src/test/test_dos.c
+++ b/src/test/test_dos.c
@@ -18,6 +18,7 @@
#include "networkstatus_st.h"
#include "or_connection_st.h"
+#include "routerstatus_st.h"
#include "test.h"
#include "log_test_helpers.h"
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index 5722637735..d16af591d4 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -36,6 +36,7 @@
#include "networkstatus_st.h"
#include "node_st.h"
#include "origin_circuit_st.h"
+#include "routerstatus_st.h"
#include "test_helpers.h"
#include "log_test_helpers.h"
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c
index 1cfa4a2409..ea5fb49792 100644
--- a/src/test/test_hs_common.c
+++ b/src/test/test_hs_common.c
@@ -35,6 +35,7 @@
#include "networkstatus_st.h"
#include "node_st.h"
+#include "routerstatus_st.h"
/** Test the validation of HS v3 addresses */
static void
diff --git a/src/test/test_hs_control.c b/src/test/test_hs_control.c
index 1fcea44f4b..f720373375 100644
--- a/src/test/test_hs_control.c
+++ b/src/test/test_hs_control.c
@@ -17,6 +17,7 @@
#include "nodelist.h"
#include "node_st.h"
+#include "routerstatus_st.h"
#include "test_helpers.h"
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c
index 27fdf4a9d0..1fdac09243 100644
--- a/src/test/test_microdesc.c
+++ b/src/test/test_microdesc.c
@@ -14,6 +14,7 @@
#include "torcert.h"
#include "networkstatus_st.h"
+#include "routerstatus_st.h"
#include "test.h"
diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c
index 4a876f3557..018f109e5c 100644
--- a/src/test/test_nodelist.c
+++ b/src/test/test_nodelist.c
@@ -14,6 +14,7 @@
#include "networkstatus_st.h"
#include "node_st.h"
+#include "routerstatus_st.h"
#include "test.h"
diff --git a/src/test/test_policy.c b/src/test/test_policy.c
index 673336eaeb..71c6230702 100644
--- a/src/test/test_policy.c
+++ b/src/test/test_policy.c
@@ -12,6 +12,7 @@
#include "node_st.h"
#include "port_cfg_st.h"
+#include "routerstatus_st.h"
/* Helper: assert that short_policy parses and writes back out as itself,
or as <b>expected</b> if that's provided. */
diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index 1c2ba9d673..41f7c09bde 100644
--- a/src/test/test_routerlist.c
+++ b/src/test/test_routerlist.c
@@ -38,6 +38,7 @@
#include "dir_connection_st.h"
#include "networkstatus_st.h"
#include "node_st.h"
+#include "routerstatus_st.h"
#include "test.h"
#include "test_dir_common.h"
diff --git a/src/test/test_routerset.c b/src/test/test_routerset.c
index 0e1ad3fdfa..21db9bb3ba 100644
--- a/src/test/test_routerset.c
+++ b/src/test/test_routerset.c
@@ -11,6 +11,7 @@
#include "nodelist.h"
#include "node_st.h"
+#include "routerstatus_st.h"
#include "test.h"