aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.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/circuitlist.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/circuitlist.h')
-rw-r--r--src/or/circuitlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h
index d647062f46..2f76252563 100644
--- a/src/or/circuitlist.h
+++ b/src/or/circuitlist.h
@@ -48,6 +48,7 @@ origin_circuit_t *circuit_get_ready_rend_circ_by_rend_data(
origin_circuit_t *circuit_get_next_by_pk_and_purpose(origin_circuit_t *start,
const uint8_t *digest, uint8_t purpose);
origin_circuit_t *circuit_get_next_service_intro_circ(origin_circuit_t *start);
+origin_circuit_t *circuit_get_next_service_hsdir_circ(origin_circuit_t *start);
origin_circuit_t *circuit_find_to_cannibalize(uint8_t purpose,
extend_info_t *info, int flags);
void circuit_mark_all_unused_circs(void);