aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.h
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-14 10:44:56 +1000
committerteor <teor@riseup.net>2020-05-14 10:44:56 +1000
commitd41d13ea73e0b5b7023a43e7d13d8738f2e59855 (patch)
tree74e337701c513126f40e6576b51fdcf50b98ad00 /src/test/test_helpers.h
parent9949b545c8890abfb192ce4d2397e0db959645b7 (diff)
downloadtor-d41d13ea73e0b5b7023a43e7d13d8738f2e59855.tar.gz
tor-d41d13ea73e0b5b7023a43e7d13d8738f2e59855.zip
test: Move the origin circuit function to test helpers
Part of 33222.
Diffstat (limited to 'src/test/test_helpers.h')
-rw-r--r--src/test/test_helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test_helpers.h b/src/test/test_helpers.h
index eaf18e19e2..66007873d1 100644
--- a/src/test/test_helpers.h
+++ b/src/test/test_helpers.h
@@ -40,5 +40,10 @@ int helper_cleanup_pubsub(const struct testcase_t *, void *);
extern const struct testcase_setup_t helper_pubsub_setup;
+origin_circuit_t *new_test_origin_circuit(bool has_opened,
+ struct timeval circ_start_time,
+ int path_len,
+ extend_info_t **ei_list);
+
#endif /* !defined(TOR_TEST_HELPERS_H) */