summaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 14:01:33 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commit8365de1da3de53fc02d463d78187625d16a5180b (patch)
tree0d2698a5dcaed28de426024e40fcb7f07135c422 /src/or/control.h
parent743d0b9d91c0c26045aa9a725865870f0c052794 (diff)
downloadtor-8365de1da3de53fc02d463d78187625d16a5180b.tar.gz
tor-8365de1da3de53fc02d463d78187625d16a5180b.zip
hs-v3: Implement HS_DESC FAILED event
A new v3 specific function has been added named control_event_hsv3_descriptor_failed(). The HS v3 subsystem now uses it. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 5a7a87c06f..4c9adb6818 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -139,6 +139,11 @@ void control_event_hsv2_descriptor_failed(const rend_data_t *rend_data,
void control_event_hsv2_descriptor_received(const char *onion_address,
const rend_data_t *rend_data,
const char *id_digest);
+/* Hidden service v3 HS_DESC specific. */
+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_hs_descriptor_upload_failed(const char *hs_dir,
const char *onion_address,
const char *reason);