diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-08-15 19:55:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-08-15 19:55:52 +0000 |
commit | 4135c68853a92cf756886d3baf303a7c58ee8aaf (patch) | |
tree | 33db95470c297a6ce490af9e5d8353cab11ea9be /src/or/or.h | |
parent | 717f3b8a1239fe1e72afd76002470969730cd2bc (diff) | |
download | tor-4135c68853a92cf756886d3baf303a7c58ee8aaf.tar.gz tor-4135c68853a92cf756886d3baf303a7c58ee8aaf.zip |
r14049@Kushana: nickm | 2007-08-15 14:43:56 -0400
Implement code to serve pending votes, consensuses, and signatures.
svn:r11125
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 4d04a7f02e..a0d9b087e7 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2881,6 +2881,11 @@ int dirvote_compute_consensus(void); int dirvote_add_signatures(const char *detached_signatures_body); 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); + #ifdef DIRVOTE_PRIVATE time_t median_time(smartlist_t *times); int median_int(smartlist_t *times); |