summaryrefslogtreecommitdiff
path: root/src/or/hs_client.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-21 14:32:47 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commitc38144bb0f1a38cd4d72b60efd038aab63182b8b (patch)
tree79b37f66edd1d2e1d785ddbb240bc0a1e5b37d0a /src/or/hs_client.h
parent89eb96c19a091b1e892e4a7c05f06e188131aed0 (diff)
downloadtor-c38144bb0f1a38cd4d72b60efd038aab63182b8b.tar.gz
tor-c38144bb0f1a38cd4d72b60efd038aab63182b8b.zip
prop224: Client callback when descriptor has arrived
When a descriptor fetch has completed and it has been successfully stored in the client cache, this callback will take appropriate actions to attach streams and/or launch neede circuits to connect to the service. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.h')
-rw-r--r--src/or/hs_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hs_client.h b/src/or/hs_client.h
index 0f82a830f4..50d0ad7601 100644
--- a/src/or/hs_client.h
+++ b/src/or/hs_client.h
@@ -11,6 +11,7 @@
#include "crypto_ed25519.h"
#include "hs_descriptor.h"
+#include "hs_ident.h"
void hs_client_note_connection_attempt_succeeded(
const edge_connection_t *conn);
@@ -31,5 +32,7 @@ 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);
+
#endif /* TOR_HS_CLIENT_H */