summaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-04-30 12:28:11 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-14 10:46:38 -0400
commitc1ffeadff4db375886d40bb5928ddd4fe761ba9f (patch)
treea1911a7d1b60a6908f506f96604f51c90fb8c57b /src/or/control.h
parent95a9920461dd3322280a13c8d99e363c91028ab2 (diff)
downloadtor-c1ffeadff4db375886d40bb5928ddd4fe761ba9f.tar.gz
tor-c1ffeadff4db375886d40bb5928ddd4fe761ba9f.zip
Add missing descriptor ID to HS_DESC control event
For FAILED and RECEIVED action of the HS_DESC event, we now sends back the descriptor ID at the end like specified in the control-spec section 4.1.25. Fixes #15881 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 644caf8c66..a9f2725878 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -111,18 +111,17 @@ void control_event_hs_descriptor_upload(const char *service_id,
const char *hs_dir);
void control_event_hs_descriptor_receive_end(const char *action,
const char *onion_address,
- rend_auth_type_t auth_type,
+ const rend_data_t *rend_data,
const char *id_digest,
const char *reason);
void control_event_hs_descriptor_upload_end(const char *action,
const char *hs_dir,
const char *reason);
void control_event_hs_descriptor_received(const char *onion_address,
- rend_auth_type_t auth_type,
+ const rend_data_t *rend_data,
const char *id_digest);
void control_event_hs_descriptor_uploaded(const char *hs_dir);
-void control_event_hs_descriptor_failed(const char *onion_address,
- rend_auth_type_t auth_type,
+void control_event_hs_descriptor_failed(const rend_data_t *rend_data,
const char *id_digest,
const char *reason);
void control_event_hs_descriptor_upload_failed(const char *hs_dir,