aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-08 11:52:51 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-08 11:52:51 -0500
commit194bd56c8a4d6bdb49f6896712bae422887975e2 (patch)
treeb1a5e3e6497cb0e5f993b21ee1654c0a1faf8b3a /src/or/dirvote.h
parentfd1c2a13e7558086732288eb1a4f52aef2edeb2f (diff)
downloadtor-194bd56c8a4d6bdb49f6896712bae422887975e2.tar.gz
tor-194bd56c8a4d6bdb49f6896712bae422887975e2.zip
Refactor generating the m lines in a vote into its own function
Diffstat (limited to 'src/or/dirvote.h')
-rw-r--r--src/or/dirvote.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/dirvote.h b/src/or/dirvote.h
index f134454321..366b7cf037 100644
--- a/src/or/dirvote.h
+++ b/src/or/dirvote.h
@@ -109,6 +109,11 @@ ssize_t dirvote_format_microdesc_vote_line(char *out, size_t out_len,
const microdesc_t *md,
int consensus_method_low,
int consensus_method_high);
+vote_microdesc_hash_t *dirvote_format_all_microdesc_vote_lines(
+ const routerinfo_t *ri,
+ time_t now,
+ smartlist_t *microdescriptors_out);
+
int vote_routerstatus_find_microdesc_hash(char *digest256_out,
const vote_routerstatus_t *vrs,
int method,