diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-11-01 09:35:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-11-01 09:35:17 -0400 |
commit | 096cbfb8b0712c227aee94bd9df47c6fdc92b193 (patch) | |
tree | 178e927ca4da5edc2f786f0f4856f9f99db80473 /src/test/fakecircs.h | |
parent | 7824a65aa071d52aff801ad6876cb5920aeca497 (diff) | |
parent | d67db64cedf9e7bb3e84c88a6f23d8bd7624ce29 (diff) | |
download | tor-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.h | 17 |
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 */ |