summaryrefslogtreecommitdiff
path: root/src/or/hs_control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 14:48:52 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commitc7050eaa16ca8c46c2cea81cc2f4d405ccf15968 (patch)
treececbf32ee7838266839fe4c80fa6cfe514c9de12 /src/or/hs_control.h
parentb71a9b60cc0c29899637acc0610cb87c56869c1e (diff)
downloadtor-c7050eaa16ca8c46c2cea81cc2f4d405ccf15968.tar.gz
tor-c7050eaa16ca8c46c2cea81cc2f4d405ccf15968.zip
hs-v3: Implement HS_DESC UPLOAD event
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_control.h')
-rw-r--r--src/or/hs_control.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/hs_control.h b/src/or/hs_control.h
index 3b117f19c3..e10a300d77 100644
--- a/src/or/hs_control.h
+++ b/src/or/hs_control.h
@@ -29,5 +29,11 @@ void hs_control_desc_event_received(const hs_ident_dir_conn_t *ident,
void hs_control_desc_event_created(const char *onion_address,
const ed25519_public_key_t *blinded_pk);
+/* Event "HS_DESC UPLOAD [...]" */
+void hs_control_desc_event_upload(const char *onion_address,
+ const char *hsdir_id_digest,
+ const ed25519_public_key_t *blinded_pk,
+ const uint8_t *hsdir_index);
+
#endif /* !defined(TOR_HS_CONTROL_H) */