summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-02-13 15:32:13 +0200
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commitf53b72baf7472423f662b49bebde1a88727901fb (patch)
tree72e59b442c505ed5dc9d8f3b518906d898037747 /src/or/hs_common.h
parent0f104ddce578c52d604931c595b28aa61a184b40 (diff)
downloadtor-f53b72baf7472423f662b49bebde1a88727901fb.tar.gz
tor-f53b72baf7472423f662b49bebde1a88727901fb.zip
prop224: Add descriptor overlap mode function
The function has been added but not used except for the unit tests. Signed-off-by: David Goulet <dgoulet@torproject.org>
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 ae9c4e36a5..bda91515b1 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -144,6 +144,8 @@ uint64_t hs_get_next_time_period_num(time_t now);
link_specifier_t *hs_link_specifier_dup(const link_specifier_t *lspec);
+int hs_overlap_mode_is_active(const networkstatus_t *consensus, time_t now);
+
#ifdef HS_COMMON_PRIVATE
#ifdef TOR_UNIT_TESTS