diff options
author | David Goulet <dgoulet@torproject.org> | 2017-11-10 11:25:16 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-05 19:39:46 -0500 |
commit | e7d606900e635719ed0cb5b76343a69ef4a1e43b (patch) | |
tree | 61502891603a2d81fa835f3d551863889fb24498 /src/or/control.h | |
parent | beacbbe2106f9af64a64fea3f69e5dcd43c1569e (diff) | |
download | tor-e7d606900e635719ed0cb5b76343a69ef4a1e43b.tar.gz tor-e7d606900e635719ed0cb5b76343a69ef4a1e43b.zip |
control: Rename two HS v2 specific functions
Make control_event_hs_descriptor_received() and
control_event_hs_descriptor_failed() v2 specific because they take a
rend_data_t object and v3 will need to pass a different object.
No behavior change.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.h')
-rw-r--r-- | src/or/control.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/or/control.h b/src/or/control.h index a5f2599d22..1744baba2e 100644 --- a/src/or/control.h +++ b/src/or/control.h @@ -129,14 +129,15 @@ void control_event_hs_descriptor_upload_end(const char *action, const char *onion_address, const char *hs_dir, const char *reason); -void control_event_hs_descriptor_received(const char *onion_address, - const rend_data_t *rend_data, - const char *id_digest); void control_event_hs_descriptor_uploaded(const char *hs_dir, const char *onion_address); -void control_event_hs_descriptor_failed(const rend_data_t *rend_data, - const char *id_digest, - const char *reason); +/* Hidden service v2 HS_DESC specific. */ +void control_event_hsv2_descriptor_failed(const rend_data_t *rend_data, + const char *id_digest, + const char *reason); +void control_event_hsv2_descriptor_received(const char *onion_address, + const rend_data_t *rend_data, + const char *id_digest); void control_event_hs_descriptor_upload_failed(const char *hs_dir, const char *onion_address, const char *reason); |