summaryrefslogtreecommitdiff
path: root/src/or/rendservice.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-01-13 16:00:07 -0500
committerDavid Goulet <dgoulet@torproject.org>2017-07-13 16:49:44 -0400
commitc086a59ea1fe63e38b6f83fa0c2c19bf495e977d (patch)
tree8b1dc6f9b3b4e3ea9658a93eb0406f513a0ebe01 /src/or/rendservice.h
parent93774dcb5458115652e0be5cdfaf198967b8a31e (diff)
downloadtor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.tar.gz
tor-c086a59ea1fe63e38b6f83fa0c2c19bf495e977d.zip
prop224: Configure v3 service from options
This commit adds the support in the HS subsystem for loading a service from a set of or_options_t and put them in a staging list. To achieve this, service accessors have been created and a global hash map containing service object indexed by master public key. However, this is not used for now. It's ground work for registration process. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r--src/or/rendservice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h
index 90f854e4bc..361a119e49 100644
--- a/src/or/rendservice.h
+++ b/src/or/rendservice.h
@@ -143,9 +143,9 @@ STATIC void rend_service_prune_list_impl_(void);
int num_rend_services(void);
int rend_config_service(const config_line_t *line_,
const or_options_t *options,
- int validate_only,
hs_service_t *hs_service);
void rend_service_prune_list(void);
+void rend_service_free_staging_list(void);
int rend_service_load_all_keys(const smartlist_t *service_list);
void rend_services_add_filenames_to_lists(smartlist_t *open_lst,
smartlist_t *stat_lst);