aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_cell.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-21 13:57:10 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commitb91693f7c3099c691d0e5dbb60ac55df14b7bd68 (patch)
tree9bdff12a287841022fe79830276c8c6a087fd38f /src/or/hs_cell.h
parent6eb125d14bf69e9dad427fe4b1005477177acc04 (diff)
downloadtor-b91693f7c3099c691d0e5dbb60ac55df14b7bd68.tar.gz
tor-b91693f7c3099c691d0e5dbb60ac55df14b7bd68.zip
prop224: Build ESTABLISH_RENDEZVOUS cell and logic
Add a function to build the cell. Add a the logic to send the cell when the rendezvous circuit opens. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cell.h')
-rw-r--r--src/or/hs_cell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_cell.h b/src/or/hs_cell.h
index a72009510c..29e451cf0f 100644
--- a/src/or/hs_cell.h
+++ b/src/or/hs_cell.h
@@ -93,6 +93,8 @@ ssize_t hs_cell_build_rendezvous1(const uint8_t *rendezvous_cookie,
uint8_t *cell_out);
ssize_t hs_cell_build_introduce1(const hs_cell_introduce1_data_t *data,
uint8_t *cell_out);
+ssize_t hs_cell_build_establish_rendezvous(const uint8_t *rendezvous_cookie,
+ uint8_t *cell_out);
/* Parse cell API. */
ssize_t hs_cell_parse_intro_established(const uint8_t *payload,