aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_client.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-06-01 14:12:33 +0300
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commitc754864cfda8cf1fffcf754c400be0c21b74b50d (patch)
tree600dd97d9197966eec4783bc2082862cb8de9383 /src/or/hs_client.h
parent0f6633abb29743d920c27e8d7888dba4d83217b5 (diff)
downloadtor-c754864cfda8cf1fffcf754c400be0c21b74b50d.tar.gz
tor-c754864cfda8cf1fffcf754c400be0c21b74b50d.zip
prop224: Add code that launches v3 HS desc fetches.
Entry point is hs_client_refetch_v3_renddesc(). Will be used in subsequent commits. 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 348724ab3e..0b446c00bf 100644
--- a/src/or/hs_client.h
+++ b/src/or/hs_client.h
@@ -9,6 +9,7 @@
#ifndef TOR_HS_CLIENT_H
#define TOR_HS_CLIENT_H
+#include "crypto_ed25519.h"
#include "hs_descriptor.h"
void hs_client_note_connection_attempt_succeeded(
@@ -18,6 +19,8 @@ int hs_client_decode_descriptor(
const char *desc_str,
const ed25519_public_key_t *service_identity_pk,
hs_descriptor_t **desc);
+int hs_client_any_intro_points_usable(const hs_descriptor_t *desc);
+int hs_client_refetch_hsdesc(const ed25519_public_key_t *identity_pk);
#endif /* TOR_HS_CLIENT_H */