aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDonncha O'Cearbhaill <donncha@donncha.is>2015-08-04 14:47:51 +0200
committerDonncha O'Cearbhaill <donncha@donncha.is>2015-09-08 12:34:05 +0200
commit293410d1384742fe0da2f760707e3a282f4056b2 (patch)
tree8cc3f08acab21bc06a662126372c121c90dd2540 /src/or/control.h
parent0bd68bf98617607f5ca0f98e4d67bf66c6b5b210 (diff)
downloadtor-293410d1384742fe0da2f760707e3a282f4056b2.tar.gz
tor-293410d1384742fe0da2f760707e3a282f4056b2.zip
Add replica number to HS_DESC CREATED event
Including the replica number in the HS_DESC CREATED event provides more context to a control port client. The replica allows clients to more easily identify each replicated descriptor from the independantly output control events.
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 26f7f50b88..1f8e2bcdc6 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -118,7 +118,8 @@ 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);
+ const char *desc_id_base32,
+ int replica);
void control_event_hs_descriptor_upload(const char *service_id,
const char *desc_id_base32,
const char *hs_dir);