diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-15 14:34:53 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-05 19:39:46 -0500 |
commit | 683fccba8fb4543867435bd83851da821cd7f10e (patch) | |
tree | 5a4112aea7d5207a82da5e8902b5f842db72a25f /src/or/hs_control.h | |
parent | e71c6199ddd9514f6f04c13f4393bfc28961b272 (diff) | |
download | tor-683fccba8fb4543867435bd83851da821cd7f10e.tar.gz tor-683fccba8fb4543867435bd83851da821cd7f10e.zip |
hs-v3: Add an handler for the HSPOST command
It is not used yet at this commit.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_control.h')
-rw-r--r-- | src/or/hs_control.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_control.h b/src/or/hs_control.h index 35062d4b81..95c46e655e 100644 --- a/src/or/hs_control.h +++ b/src/or/hs_control.h @@ -44,5 +44,9 @@ void hs_control_desc_event_content(const hs_ident_dir_conn_t *ident, const char *hsdir_id_digest, const char *body); +/* Command "HSPOST [...]" */ +int hs_control_hspost_command(const char *body, const char *onion_address, + const smartlist_t *hsdirs_rs); + #endif /* !defined(TOR_HS_CONTROL_H) */ |