diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-19 08:25:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-19 08:25:12 -0400 |
commit | d718c717a67051cb1da2a1f80c70401d0d10b374 (patch) | |
tree | 8a5fdc8466bc79e54d6b0f07d0e98bcdbf946119 /src/or/networkstatus.h | |
parent | 159ea7a88f31aee2f84cf964c0d0000a5bd98970 (diff) | |
parent | 9f217c83b0d91508af0d63f04216fa78cdbfbe1b (diff) | |
download | tor-d718c717a67051cb1da2a1f80c70401d0d10b374.tar.gz tor-d718c717a67051cb1da2a1f80c70401d0d10b374.zip |
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 86dda020fe..aee6641c6e 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -70,13 +70,12 @@ 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); -int networkstatus_consensus_has_excess_connections(void); -int networkstatus_consensus_is_downloading_usable_flavor(void); +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 #define NSSET_WAS_WAITING_FOR_CERTS 2 |