diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-21 15:19:32 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | abb840bf6431cfeb4f5e32ae2774fcde29e7724d (patch) | |
tree | 3c5d8ee96471bb4bbeef2d54da2eb7eae19e3d69 /src/or/hs_client.h | |
parent | c38144bb0f1a38cd4d72b60efd038aab63182b8b (diff) | |
download | tor-abb840bf6431cfeb4f5e32ae2774fcde29e7724d.tar.gz tor-abb840bf6431cfeb4f5e32ae2774fcde29e7724d.zip |
prop224: Client function to pick intro point
From an edge connection object, add a function that randomly pick an
introduction point for the requested service.
This follows the code design of rend_client_get_random_intro() and returns an
extend_info_t object ready to be used to extend to.
At this commit, it is not used yet.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.h')
-rw-r--r-- | src/or/hs_client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_client.h b/src/or/hs_client.h index 50d0ad7601..c41baa2ce3 100644 --- a/src/or/hs_client.h +++ b/src/or/hs_client.h @@ -31,8 +31,10 @@ void hs_client_circuit_has_opened(origin_circuit_t *circ); int hs_client_receive_rendezvous_acked(origin_circuit_t *circ, const uint8_t *payload, size_t payload_len); - void hs_client_desc_has_arrived(const hs_ident_dir_conn_t *ident); +extend_info_t *hs_client_get_random_intro_from_edge( + const edge_connection_t *edge_conn); + #endif /* TOR_HS_CLIENT_H */ |