summaryrefslogtreecommitdiff
path: root/src/or/hs_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/hs_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/hs_control.h')
-rw-r--r--src/or/hs_control.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/hs_control.h b/src/or/hs_control.h
index 2878ba5bca..fb8f3859f5 100644
--- a/src/or/hs_control.h
+++ b/src/or/hs_control.h
@@ -9,10 +9,17 @@
#ifndef TOR_HS_CONTROL_H
#define TOR_HS_CONTROL_H
+#include "hs_ident.h"
+
/* Event "HS_DESC REQUESTED [...]" */
void hs_control_desc_event_requested(const ed25519_public_key_t *onion_pk,
const char *base64_blinded_pk,
const routerstatus_t *hsdir_rs);
+/* Event "HS_DESC FAILED [...]" */
+void hs_control_desc_event_failed(const hs_ident_dir_conn_t *ident,
+ const char *hsdir_id_digest,
+ const char *reason);
+
#endif /* !defined(TOR_HS_CONTROL_H) */