aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_control.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-01-14 14:09:53 -0500
committerNeel Chauhan <neel@neelc.org>2019-01-24 10:22:41 -0500
commitc985940de9ec743cbb3e9a3e32fd482bd859c9ed (patch)
treeada77d45ae70210a34c9761b36bd5e539dd2a2f9 /src/feature/hs/hs_control.h
parentcef910642efb1f9a2db16146eb8a191327b51310 (diff)
downloadtor-c985940de9ec743cbb3e9a3e32fd482bd859c9ed.tar.gz
tor-c985940de9ec743cbb3e9a3e32fd482bd859c9ed.zip
Add version 3 onion service support to HSFETCH
Diffstat (limited to 'src/feature/hs/hs_control.h')
-rw-r--r--src/feature/hs/hs_control.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/hs/hs_control.h b/src/feature/hs/hs_control.h
index 63e3fe13d6..2f5dcd2154 100644
--- a/src/feature/hs/hs_control.h
+++ b/src/feature/hs/hs_control.h
@@ -48,5 +48,9 @@ void hs_control_desc_event_content(const hs_ident_dir_conn_t *ident,
int hs_control_hspost_command(const char *body, const char *onion_address,
const smartlist_t *hsdirs_rs);
+/* Command "HSFETCH [...]" */
+void hs_control_hsfetch_command(const ed25519_public_key_t *onion_identity_pk,
+ const smartlist_t *hsdirs);
+
#endif /* !defined(TOR_HS_CONTROL_H) */