summaryrefslogtreecommitdiff
path: root/src/or/hs_cell.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-03-09 12:54:51 -0500
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commitdfa6301aed8f1c7164b1e8513ab64119944d976c (patch)
treea1ce43963a6c773e08eaa15e2dcb0d8e0f200ab4 /src/or/hs_cell.h
parentacc7c4ee9578e37a66dff6a09c86bee5777f782d (diff)
downloadtor-dfa6301aed8f1c7164b1e8513ab64119944d976c.tar.gz
tor-dfa6301aed8f1c7164b1e8513ab64119944d976c.zip
prop224: Handle service RENDEZVOUS1 cell
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cell.h')
-rw-r--r--src/or/hs_cell.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/hs_cell.h b/src/or/hs_cell.h
index 901ff81aae..fb4950d519 100644
--- a/src/or/hs_cell.h
+++ b/src/or/hs_cell.h
@@ -47,10 +47,17 @@ typedef struct hs_cell_introduce2_data_t {
smartlist_t *link_specifiers;
} hs_cell_introduce2_data_t;
+/* Build cell API. */
ssize_t hs_cell_build_establish_intro(const char *circ_nonce,
const hs_service_intro_point_t *ip,
uint8_t *cell_out);
+ssize_t hs_cell_build_rendezvous1(const uint8_t *rendezvous_cookie,
+ size_t rendezvous_cookie_len,
+ const uint8_t *rendezvous_handshake_info,
+ size_t rendezvous_handshake_info_len,
+ uint8_t *cell_out);
+/* Parse cell API. */
ssize_t hs_cell_parse_intro_established(const uint8_t *payload,
size_t payload_len);
ssize_t hs_cell_parse_introduce2(hs_cell_introduce2_data_t *data,