aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 09:08:05 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commit242ddc85c874cafdc3513725f9357028b72eb9f8 (patch)
treeebf67983a128acb237c84b63b3efccb33b999cf1 /src/or/control.h
parent4633a93ca841c36e9c36ae31bc6745c47f85767e (diff)
downloadtor-242ddc85c874cafdc3513725f9357028b72eb9f8.tar.gz
tor-242ddc85c874cafdc3513725f9357028b72eb9f8.zip
control: Refactor HS_DESC events functions to not be v2 specific
This is a naming refactor mostly _except_ for a the events' function that take a rend_data_t which will require much more refactoring. No behavior change at this commit, cleanup and renaming stuff to not be only v2 specific. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 74601b9784..45fc4a9bc1 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -115,14 +115,15 @@ void control_event_transport_launched(const char *mode,
tor_addr_t *addr, uint16_t port);
const char *rend_auth_type_to_string(rend_auth_type_t auth_type);
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_requested(const char *onion_address,
+ rend_auth_type_t auth_type,
+ const char *id_digest,
+ const char *desc_id);
+void control_event_hs_descriptor_created(const char *onion_address,
+ const char *desc_id,
int replica);
-void control_event_hs_descriptor_upload(const char *service_id,
- const char *desc_id_base32,
+void control_event_hs_descriptor_upload(const char *onion_address,
+ const char *desc_id,
const char *hs_dir);
void control_event_hs_descriptor_receive_end(const char *action,
const char *onion_address,