summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-08-11 15:21:54 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:32:49 -0400
commit45a72356cbf085f02d92edcbd9f5a3ed129216cc (patch)
tree92581259d5566fa5be0195977564a2245757758e /src/or/hs_common.h
parent1aeaba4906d9f0d8901f3ef928f2cbcd049f1140 (diff)
downloadtor-45a72356cbf085f02d92edcbd9f5a3ed129216cc.tar.gz
tor-45a72356cbf085f02d92edcbd9f5a3ed129216cc.zip
prop224: Directory support for v3 descriptor publishing
Closes #19205 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index a3edf618a7..824e5405f2 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -14,6 +14,8 @@
/* 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
+/* Version 3 of the protocol (prop224). */
+#define HS_VERSION_THREE 3
void rend_data_free(rend_data_t *data);
rend_data_t *rend_data_dup(const rend_data_t *data);