aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-23 10:43:16 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-07-25 13:11:40 -0400
commitb8ceab9bb33a8096f14a671399ce34db439f63e2 (patch)
tree197f17e510bdacbad12d065d946dff46553e500b /src/or/hs_common.h
parent2b9575a9c0ecf6e3880654be16d103326788cecf (diff)
downloadtor-b8ceab9bb33a8096f14a671399ce34db439f63e2.tar.gz
tor-b8ceab9bb33a8096f14a671399ce34db439f63e2.zip
prop224: Helper to dup a link_specifier_t object
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index 203a5d0818..a6c9994ef9 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -11,6 +11,9 @@
#include "or.h"
+/* Trunnel */
+#include "ed25519_cert.h"
+
/* Protocol version 2. Use this instead of hardcoding "2" in the code base,
* this adds a clearer semantic to the value when used. */
#define HS_VERSION_TWO 2
@@ -113,6 +116,8 @@ const uint8_t *rend_data_get_pk_digest(const rend_data_t *rend_data,
uint64_t hs_get_next_time_period_num(time_t now);
+link_specifier_t *hs_link_specifier_dup(const link_specifier_t *lspec);
+
#ifdef HS_COMMON_PRIVATE
#ifdef TOR_UNIT_TESTS