summaryrefslogtreecommitdiff
path: root/src/or/hs_common.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-05-05 14:55:26 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commitb547c5423930a430f70505a12d587735a7c83e1c (patch)
tree009b3e8fd6a2cb40d9950bfd83ceef7afce4ada9 /src/or/hs_common.h
parent559ffd71798765970205d0559c9f5a06dc55cf37 (diff)
downloadtor-b547c5423930a430f70505a12d587735a7c83e1c.tar.gz
tor-b547c5423930a430f70505a12d587735a7c83e1c.zip
test: Add unit test coverage of hs_service.c
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r--src/or/hs_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h
index 3670ff3790..cbf1ac113d 100644
--- a/src/or/hs_common.h
+++ b/src/or/hs_common.h
@@ -198,7 +198,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);
+MOCK_DECL(int, hs_overlap_mode_is_active,
+ (const networkstatus_t *consensus, time_t now));
uint8_t *hs_get_current_srv(uint64_t time_period_num);
uint8_t *hs_get_previous_srv(uint64_t time_period_num);