summaryrefslogtreecommitdiff
path: root/src/test/fakecircs.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-01 09:35:17 -0400
committerNick Mathewson <nickm@torproject.org>2019-11-01 09:35:17 -0400
commit096cbfb8b0712c227aee94bd9df47c6fdc92b193 (patch)
tree178e927ca4da5edc2f786f0f4856f9f99db80473 /src/test/fakecircs.h
parent7824a65aa071d52aff801ad6876cb5920aeca497 (diff)
parentd67db64cedf9e7bb3e84c88a6f23d8bd7624ce29 (diff)
downloadtor-096cbfb8b0712c227aee94bd9df47c6fdc92b193.tar.gz
tor-096cbfb8b0712c227aee94bd9df47c6fdc92b193.zip
Merge remote-tracking branch 'tor-github/pr/1480'
Diffstat (limited to 'src/test/fakecircs.h')
-rw-r--r--src/test/fakecircs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/fakecircs.h b/src/test/fakecircs.h
new file mode 100644
index 0000000000..5fd02027f0
--- /dev/null
+++ b/src/test/fakecircs.h
@@ -0,0 +1,17 @@
+/* Copyright (c) 2019, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file fakecircs.h
+ * \brief Declarations for fake circuits for test suite use.
+ **/
+
+#ifndef TOR_FAKECIRCS_H
+#define TOR_FAKECIRCS_H
+
+#include "core/or/or_circuit_st.h"
+
+or_circuit_t *new_fake_orcirc(channel_t *nchan, channel_t *pchan);
+void free_fake_orcirc(or_circuit_t *orcirc);
+
+#endif /* TOR_FAKECIRCS_H */