summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.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_descriptor.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_descriptor.h')
-rw-r--r--src/or/hs_descriptor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h
index 19e52333be..256a04dd6e 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -224,6 +224,7 @@ int hs_desc_decode_plaintext(const char *encoded,
int hs_desc_decode_encrypted(const hs_descriptor_t *desc,
hs_desc_encrypted_data_t *desc_out);
+size_t hs_desc_obj_size(const hs_descriptor_t *data);
size_t hs_desc_plaintext_obj_size(const hs_desc_plaintext_data_t *data);
hs_desc_intro_point_t *hs_desc_intro_point_new(void);