summaryrefslogtreecommitdiff
path: root/src/or/hs_control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 14:34:41 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commitb71a9b60cc0c29899637acc0610cb87c56869c1e (patch)
treece1d22cf93c266f64585a7780b5dedf670e613fe /src/or/hs_control.h
parent3b436d495fc6ad59ff5d9406d7ef17494286c299 (diff)
downloadtor-b71a9b60cc0c29899637acc0610cb87c56869c1e.tar.gz
tor-b71a9b60cc0c29899637acc0610cb87c56869c1e.zip
hs-v3: Implement HS_DESC CREATED event
This makes the REPLICA= field optional for the control port event. A v2 service will always pass it and v3 is ignored. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_control.h')
-rw-r--r--src/or/hs_control.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_control.h b/src/or/hs_control.h
index 33a96cec01..3b117f19c3 100644
--- a/src/or/hs_control.h
+++ b/src/or/hs_control.h
@@ -25,5 +25,9 @@ void hs_control_desc_event_failed(const hs_ident_dir_conn_t *ident,
void hs_control_desc_event_received(const hs_ident_dir_conn_t *ident,
const char *hsdir_id_digest);
+/* Event "HS_DESC CREATED [...]" */
+void hs_control_desc_event_created(const char *onion_address,
+ const ed25519_public_key_t *blinded_pk);
+
#endif /* !defined(TOR_HS_CONTROL_H) */