aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2015-01-29 14:57:00 +0000
committerNick Mathewson <nickm@torproject.org>2015-02-18 09:09:33 -0500
commitf4a63f8eabbdd842ebeb97aabba92ea47c37a607 (patch)
tree4e2cc251b585f2c941e8b3dafc0283d6e840ab2a /src/or/entrynodes.h
parentdb805b91708c02e9b2b4d0c25ec17a45e81929aa (diff)
downloadtor-f4a63f8eabbdd842ebeb97aabba92ea47c37a607.tar.gz
tor-f4a63f8eabbdd842ebeb97aabba92ea47c37a607.zip
Parse GuardFraction info from consensuses and votes.
Also introduce the UseGuardFraction torrc option which decides whether clients should use guardfraction information found in the consensus.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r--src/or/entrynodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index 7f3a4fb29c..96d832ea2a 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -160,5 +160,7 @@ int validate_pluggable_transports_config(void);
double pathbias_get_close_success_count(entry_guard_t *guard);
double pathbias_get_use_success_count(entry_guard_t *guard);
+int should_apply_guardfraction(const networkstatus_t *ns);
+
#endif