aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-18 09:17:02 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-18 09:17:02 -0500
commit96211bcf714ac739f605dc0b5b8754418080591f (patch)
tree7c677d7993a65df2df28171dc7695a4dbab80937 /src/or/dirserv.h
parent164eeefb9360e20d358f3a08157c5b6227d98ac7 (diff)
parent5c34a53068f5556f5648dfe522030983f552a1fd (diff)
downloadtor-96211bcf714ac739f605dc0b5b8754418080591f.tar.gz
tor-96211bcf714ac739f605dc0b5b8754418080591f.zip
Merge branch 'bug9321_rerebase'
Conflicts: src/or/dirvote.h src/test/include.am src/test/test_entrynodes.c
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r--src/or/dirserv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 514ec444e6..311a513dbe 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -125,10 +125,17 @@ STATIC int dirserv_query_measured_bw_cache_kb(const char *node_id,
long *bw_out,
time_t *as_of_out);
STATIC int dirserv_has_measured_bw(const char *node_id);
+
+STATIC int
+dirserv_read_guardfraction_file_from_str(const char *guardfraction_file_str,
+ smartlist_t *vote_routerstatuses);
#endif
int dirserv_read_measured_bandwidths(const char *from_file,
smartlist_t *routerstatuses);
+int dirserv_read_guardfraction_file(const char *fname,
+ smartlist_t *vote_routerstatuses);
+
#endif