summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-05-18 21:31:03 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-19 07:58:41 -0400
commitd5c70d71027644efb31d16d17b46d43484b46b18 (patch)
tree31b16bbf1e323f5c82cd2117c013501edeed4aa3 /src/or/networkstatus.h
parent4254d0297c53155d582a51976b8e5bb41abfced6 (diff)
downloadtor-d5c70d71027644efb31d16d17b46d43484b46b18.tar.gz
tor-d5c70d71027644efb31d16d17b46d43484b46b18.zip
Restore and improve download schedule unit tests
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index 609fb85bcb..ac93e5de91 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -70,11 +70,11 @@ MOCK_DECL(networkstatus_t *,networkstatus_get_latest_consensus_by_flavor,
networkstatus_t *networkstatus_get_live_consensus(time_t now);
networkstatus_t *networkstatus_get_reasonably_live_consensus(time_t now,
int flavor);
-int networkstatus_consensus_is_bootstrapping(time_t now);
+MOCK_DECL(int, networkstatus_consensus_is_bootstrapping,(time_t now));
int networkstatus_consensus_can_use_multiple_directories(
const or_options_t *options);
-int networkstatus_consensus_can_use_extra_fallbacks(
- const or_options_t *options);
+MOCK_DECL(int, networkstatus_consensus_can_use_extra_fallbacks,(
+ const or_options_t *options));
int networkstatus_consensus_is_already_downloading(const char *resource);
#define NSSET_FROM_CACHE 1