summaryrefslogtreecommitdiff
path: root/src/or/microdesc.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-05-18 22:05:35 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-19 07:58:41 -0400
commitf698b509d8efdc055cfc05c6feaf0aecee41b9d0 (patch)
tree7d74711f1ee69f74def145f3517ecee2d69a202a /src/or/microdesc.h
parentd5c70d71027644efb31d16d17b46d43484b46b18 (diff)
downloadtor-f698b509d8efdc055cfc05c6feaf0aecee41b9d0.tar.gz
tor-f698b509d8efdc055cfc05c6feaf0aecee41b9d0.zip
Add unit tests for networkstatus_consensus_is_bootstrapping
Diffstat (limited to 'src/or/microdesc.h')
-rw-r--r--src/or/microdesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/microdesc.h b/src/or/microdesc.h
index 0675e233d6..40c83139e9 100644
--- a/src/or/microdesc.h
+++ b/src/or/microdesc.h
@@ -47,7 +47,7 @@ void microdesc_free_all(void);
void update_microdesc_downloads(time_t now);
void update_microdescs_from_networkstatus(time_t now);
-int usable_consensus_flavor(void);
+MOCK_DECL(int, usable_consensus_flavor,(void));
int we_fetch_microdescriptors(const or_options_t *options);
int we_fetch_router_descriptors(const or_options_t *options);
int we_use_microdescriptors_for_circuits(const or_options_t *options);