summaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDonncha O'Cearbhaill <donncha@donncha.is>2015-07-21 17:03:23 +0200
committerDonncha O'Cearbhaill <donncha@donncha.is>2015-08-25 17:30:02 +0200
commitaf3be650e3f8417da985efc4d26c676201c7e38b (patch)
tree4194ceee8f23ee23032075fb1da53ce3ec5f5195 /src/or/control.h
parent1a75e6da007ddd3207726dc2b1293e22453c81af (diff)
downloadtor-af3be650e3f8417da985efc4d26c676201c7e38b.tar.gz
tor-af3be650e3f8417da985efc4d26c676201c7e38b.zip
Add a HS_DESC CREATED control event
The HS_DESC CREATED event should be emmited when a new service descriptor is generated for a local rendevous service. This event is documented in the control spec. This commit resolves ticket #16291.
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h
index fdf7903cb8..26f7f50b88 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -117,6 +117,8 @@ MOCK_DECL(const char *, node_describe_longname_by_id,(const char *id_digest));
void control_event_hs_descriptor_requested(const rend_data_t *rend_query,
const char *desc_id_base32,
const char *hs_dir);
+void control_event_hs_descriptor_created(const char *service_id,
+ const char *desc_id_base32);
void control_event_hs_descriptor_upload(const char *service_id,
const char *desc_id_base32,
const char *hs_dir);