summaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_service.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2018-10-23 16:35:02 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2018-10-23 16:43:54 +0300
commit29c194e0222a517a55a16fdc2a80a965f406cab8 (patch)
treed9b753f1852a2e761f41308826f3d6ebe29436c7 /src/feature/hs/hs_service.h
parent81c466c34abdcaae9ed78958da50148ccf9939f8 (diff)
downloadtor-29c194e0222a517a55a16fdc2a80a965f406cab8.tar.gz
tor-29c194e0222a517a55a16fdc2a80a965f406cab8.zip
Func rename: Make it clear that update_all_descriptors() does intro points.
With the new refresh_service_descriptor() function we had both refresh_service_descriptor() and update_service_descriptor() which is basically the same thing. This commit renames update_service_descriptor() to update_service_descriptor_intro_points() to make it clear it's not a generic refresh and it's only about intro points. Commit changes no code.
Diffstat (limited to 'src/feature/hs/hs_service.h')
-rw-r--r--src/feature/hs/hs_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h
index 6fb15b9d37..863d96bb4e 100644
--- a/src/feature/hs/hs_service.h
+++ b/src/feature/hs/hs_service.h
@@ -387,7 +387,7 @@ STATIC int intro_point_should_expire(const hs_service_intro_point_t *ip,
STATIC void run_housekeeping_event(time_t now);
STATIC void rotate_all_descriptors(time_t now);
STATIC void build_all_descriptors(time_t now);
-STATIC void update_all_descriptors(time_t now);
+STATIC void update_all_descriptors_intro_points(time_t now);
STATIC void run_upload_descriptor_event(time_t now);
STATIC void service_descriptor_free_(hs_service_descriptor_t *desc);