summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2016-04-13 01:08:17 -0400
committerRoger Dingledine <arma@torproject.org>2016-05-09 14:40:42 -0400
commit91c58013be735584acc674a60bb18d1efb38f25a (patch)
tree4be1e3cce74c4fcf41f8cb4f7bf6858508abad7b /src/or/networkstatus.h
parentce8266d52d296333eb1a735225e620760aab8802 (diff)
downloadtor-91c58013be735584acc674a60bb18d1efb38f25a.tar.gz
tor-91c58013be735584acc674a60bb18d1efb38f25a.zip
avoid following through on a consensus fetch if we have one already arriving
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index f2f8af5c6b..e1cd10bf5b 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -76,6 +76,7 @@ int networkstatus_consensus_can_use_multiple_directories(
int networkstatus_consensus_can_use_extra_fallbacks(
const or_options_t *options);
int networkstatus_consensus_has_excess_connections(void);
+int networkstatus_consensus_is_already_downloading(const char *resource);
int networkstatus_consensus_is_downloading_usable_flavor(void);
#define NSSET_FROM_CACHE 1