aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_circuit.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-16 13:05:01 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commit6a6486a7bf327753b5bd84f4f2c113e331e41c1f (patch)
treed3ffad1db4cd98377248ac02445a843fea1d2866 /src/feature/hs/hs_circuit.h
parentd7b8377c28bf90dcaddfc273a59f95e9690cacda (diff)
downloadtor-6a6486a7bf327753b5bd84f4f2c113e331e41c1f.tar.gz
tor-6a6486a7bf327753b5bd84f4f2c113e331e41c1f.zip
hs_circuit: use struct declaration.
This frees us from a dependency on include order.
Diffstat (limited to 'src/feature/hs/hs_circuit.h')
-rw-r--r--src/feature/hs/hs_circuit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/feature/hs/hs_circuit.h b/src/feature/hs/hs_circuit.h
index c044ad89c4..a11e9e4524 100644
--- a/src/feature/hs/hs_circuit.h
+++ b/src/feature/hs/hs_circuit.h
@@ -70,13 +70,14 @@ bool hs_circ_is_rend_sent_in_intro1(const origin_circuit_t *circ);
#ifdef HS_CIRCUIT_PRIVATE
+struct hs_ntor_rend_cell_keys_t;
+
STATIC hs_ident_circuit_t *
create_rp_circuit_identifier(const hs_service_t *service,
const uint8_t *rendezvous_cookie,
const curve25519_public_key_t *server_pk,
- const hs_ntor_rend_cell_keys_t *keys);
+ const struct hs_ntor_rend_cell_keys_t *keys);
#endif /* defined(HS_CIRCUIT_PRIVATE) */
#endif /* !defined(TOR_HS_CIRCUIT_H) */
-