summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-09 12:26:10 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-11-20 11:02:30 -0500
commit5d180309ea907711a98da82f07a48646699d03b1 (patch)
tree03e31b822d79d77ec64f2fa8d786248512a7052f /src/or/control.c
parent49f21b6ba30a07369ff3282615465d0f3ad40e5b (diff)
downloadtor-5d180309ea907711a98da82f07a48646699d03b1.tar.gz
tor-5d180309ea907711a98da82f07a48646699d03b1.zip
hs: Rename rend_service_add_ephemeral_status_t
Move it to hs_common.h and rename it "hs_service_add_ephemeral_status_t". It will be shared between v2 and v3 services. Part of #20699 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index ef1e0edcd8..19527acb3c 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4433,13 +4433,13 @@ handle_control_hspost(control_connection_t *conn,
* On success (RSAE_OKAY), the address_out points to a newly allocated string
* containing the onion address without the .onion part. On error, address_out
* is untouched. */
-static rend_service_add_ephemeral_status_t
+static hs_service_add_ephemeral_status_t
add_onion_helper_add_service(int hs_version, void *pk, smartlist_t *port_cfgs,
int max_streams, int max_streams_close_circuit,
int auth_type, smartlist_t *auth_clients,
char **address_out)
{
- rend_service_add_ephemeral_status_t ret;
+ hs_service_add_ephemeral_status_t ret;
tor_assert(pk);
tor_assert(port_cfgs);