summaryrefslogtreecommitdiff
path: root/src/or/hs_client.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-06-01 13:37:11 +0300
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:27 -0400
commit7aef3ec0fde0b320343ecb3aa7080b6e1d9a2e62 (patch)
tree11ef8499ffe2aaee79a52839738416444b1ea584 /src/or/hs_client.h
parent5d89ea1e6c148ce584dc2059c4d353d12d01e8d1 (diff)
downloadtor-7aef3ec0fde0b320343ecb3aa7080b6e1d9a2e62.tar.gz
tor-7aef3ec0fde0b320343ecb3aa7080b6e1d9a2e62.zip
prop224: Add client-side HS descriptor cache.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.h')
-rw-r--r--src/or/hs_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/hs_client.h b/src/or/hs_client.h
index 4f28937b03..348724ab3e 100644
--- a/src/or/hs_client.h
+++ b/src/or/hs_client.h
@@ -9,8 +9,15 @@
#ifndef TOR_HS_CLIENT_H
#define TOR_HS_CLIENT_H
+#include "hs_descriptor.h"
+
void hs_client_note_connection_attempt_succeeded(
const edge_connection_t *conn);
+int hs_client_decode_descriptor(
+ const char *desc_str,
+ const ed25519_public_key_t *service_identity_pk,
+ hs_descriptor_t **desc);
+
#endif /* TOR_HS_CLIENT_H */