summaryrefslogtreecommitdiff
path: root/src/or/hs_ident.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-05-30 16:11:59 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit713eb08bc9582b49e8073122fb68c3fac5bae188 (patch)
treefe8544abeb5fc6388798b3f15494023522157824 /src/or/hs_ident.h
parent1b403a83821d86ac358e49ae24bd1284ed0dcfab (diff)
downloadtor-713eb08bc9582b49e8073122fb68c3fac5bae188.tar.gz
tor-713eb08bc9582b49e8073122fb68c3fac5bae188.zip
prop224: Add service rendezvous circuit relaunch
This introduces a callback to relaunch a service rendezvous circuit when a previous one failed to build or expired. It unifies the legacy function rend_service_relaunch_rendezvous() with one for specific to prop224. There is now only one entry point for that which is hs_circ_retry_service_rendezvous_point() supporting both legacy and prop224 circuits. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_ident.h')
-rw-r--r--src/or/hs_ident.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_ident.h b/src/or/hs_ident.h
index ca1fa3d707..a3ebd07da4 100644
--- a/src/or/hs_ident.h
+++ b/src/or/hs_ident.h
@@ -113,6 +113,7 @@ hs_ident_circuit_t *hs_ident_circuit_new(
const ed25519_public_key_t *identity_pk,
hs_ident_circuit_type_t circuit_type);
void hs_ident_circuit_free(hs_ident_circuit_t *ident);
+hs_ident_circuit_t *hs_ident_circuit_dup(const hs_ident_circuit_t *src);
/* Directory connection identifier API. */
hs_ident_dir_conn_t *hs_ident_dir_conn_dup(const hs_ident_dir_conn_t *src);