aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 14:12:34 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commit3b436d495fc6ad59ff5d9406d7ef17494286c299 (patch)
treea0238ed65588572666ff9badd541e30f2d22cfd8 /src/or/control.h
parent8365de1da3de53fc02d463d78187625d16a5180b (diff)
downloadtor-3b436d495fc6ad59ff5d9406d7ef17494286c299.tar.gz
tor-3b436d495fc6ad59ff5d9406d7ef17494286c299.zip
hs-v3: Implement HS_DESC RECEIVED event
Adds a v3 specific function to handle a received event. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 4c9adb6818..c11f6a07bd 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -144,6 +144,9 @@ void control_event_hsv3_descriptor_failed(const char *onion_address,
const char *desc_id,
const char *hsdir_id_digest,
const char *reason);
+void control_event_hsv3_descriptor_received(const char *onion_address,
+ const char *desc_id,
+ const char *hsdir_id_digest);
void control_event_hs_descriptor_upload_failed(const char *hs_dir,
const char *onion_address,
const char *reason);