diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-22 14:37:33 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | 7c543412fc4c77a58fb928c6eb322e48fae97137 (patch) | |
tree | 068ec9e1fc14c5466fdc2a864faf7be9f04dcf38 /src/or/hs_cell.h | |
parent | cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378 (diff) | |
download | tor-7c543412fc4c77a58fb928c6eb322e48fae97137.tar.gz tor-7c543412fc4c77a58fb928c6eb322e48fae97137.zip |
prop224: Add a function to clear INTRO data
New function named hs_cell_introduce1_data_clear() is introduced to clear off
an hs_cell_introduce1_data_t object.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cell.h')
-rw-r--r-- | src/or/hs_cell.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hs_cell.h b/src/or/hs_cell.h index 14dd31c9de..5136fce933 100644 --- a/src/or/hs_cell.h +++ b/src/or/hs_cell.h @@ -115,5 +115,8 @@ int hs_cell_parse_rendezvous2(const uint8_t *payload, size_t payload_len, uint8_t *handshake_info, size_t handshake_info_len); +/* Util API. */ +void hs_cell_introduce1_data_clear(hs_cell_introduce1_data_t *data); + #endif /* TOR_HS_CELL_H */ |