aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h
index dbb80b1f20..ae49284965 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -115,6 +115,10 @@ void control_event_hs_descriptor_received(const rend_data_t *rend_query,
void control_event_hs_descriptor_failed(const rend_data_t *rend_query,
const char *hs_dir,
const char *reason);
+void control_event_hs_descriptor_content(const char *onion_address,
+ const char *desc_id,
+ const char *hsdir_fp,
+ const char *content);
void control_free_all(void);
@@ -158,7 +162,8 @@ void control_free_all(void);
#define EVENT_CIRC_BANDWIDTH_USED 0x001D
#define EVENT_TRANSPORT_LAUNCHED 0x0020
#define EVENT_HS_DESC 0x0021
-#define EVENT_MAX_ 0x0021
+#define EVENT_HS_DESC_CONTENT 0x0022
+#define EVENT_MAX_ 0x0022
/* sizeof(control_connection_t.event_mask) in bits, currently a uint64_t */
#define EVENT_CAPACITY_ 0x0040