summaryrefslogtreecommitdiff
path: root/src/or/directory.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/directory.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/directory.h')
-rw-r--r--src/or/directory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index f04e7ab315..a6c33d7f39 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -160,6 +160,9 @@ STATIC void find_dl_min_and_max_delay(download_status_t *dls,
int *min, int *max);
STATIC int next_random_exponential_delay(int delay, int max_delay);
+STATIC int parse_hs_version_from_post(const char *url, const char *prefix,
+ const char **end_pos);
+
#endif
#endif