aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-22 14:12:49 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commitcb462b95b7e864b71ea3dc0a6bfb76c30fb8d378 (patch)
tree7acd858d9e9fa2f1a897dcd610e3330817525c06 /src/or/hs_descriptor.h
parent61009d40d127e0435e9fd98a8daf81c50e6687f0 (diff)
downloadtor-cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378.tar.gz
tor-cb462b95b7e864b71ea3dc0a6bfb76c30fb8d378.zip
prop224: Rename hs_desc_encode_lspec()
Give it a name that shows the transition from a descriptor link spec to a trunnel link spec. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r--src/or/hs_descriptor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h
index eeeb3e38a4..ce225d5217 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -233,7 +233,8 @@ size_t hs_desc_plaintext_obj_size(const hs_desc_plaintext_data_t *data);
hs_desc_intro_point_t *hs_desc_intro_point_new(void);
void hs_desc_intro_point_free(hs_desc_intro_point_t *ip);
-link_specifier_t *hs_desc_encode_lspec(const hs_desc_link_specifier_t *spec);
+link_specifier_t *hs_desc_lspec_to_trunnel(
+ const hs_desc_link_specifier_t *spec);
#ifdef HS_DESCRIPTOR_PRIVATE