aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-02 20:19:43 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-02 20:19:43 +0000
commitf4f780b526df83032748782fb5917a7ee7412902 (patch)
tree2745fcf61d997952ea0bdc14f84c67efcfc850a3 /src/or/or.h
parent439fe55c6b82cedcc0ef7510d86d07254f2eb2d1 (diff)
downloadtor-f4f780b526df83032748782fb5917a7ee7412902.tar
tor-f4f780b526df83032748782fb5917a7ee7412902.tar.gz
r15510@catbus: nickm | 2007-10-02 16:14:42 -0400
Add support for more vote URLs that weasel wanted. Weasel: please test this before I inflict it on anybody else. :) svn:r11749
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 361569f36..79d3831a3 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2887,7 +2887,7 @@ void dirvote_act(time_t now);
/* invoked on timers and by outside triggers. */
void dirvote_perform_vote(void);
-void dirvote_clear_pending_votes(void);
+void dirvote_clear_votes(int all_votes);
struct pending_vote_t * dirvote_add_vote(const char *vote_body,
const char **msg_out,
int *status_out);
@@ -2898,7 +2898,9 @@ int dirvote_publish_consensus(void);
/* Item access */
const char *dirvote_get_pending_consensus(void);
const char *dirvote_get_pending_detached_signatures(void);
-const cached_dir_t *dirvote_get_vote(const char *id);
+const cached_dir_t *dirvote_get_vote(const char *fp, int by_id,
+ int include_pending,
+ int include_previous);
#ifdef DIRVOTE_PRIVATE
int networkstatus_check_voter_signature(networkstatus_vote_t *consensus,