summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-04 19:51:00 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-04 19:59:08 -0400
commit173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b (patch)
treeefafbba046b207699cf9b3bf1ff3ff97ecba38c9 /src/or/dirvote.c
parentb353cd7e508fd436ce4ec4bd55c52cc7619b29fd (diff)
downloadtor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.tar.gz
tor-173b18c79b8e1f3a28e8b4122adb2b4ccf836c7b.zip
Add about 60 more DOCDOC comments to 0.2.3
Also, try to resolve some doxygen issues. First, define a magic "This is doxygen!" macro so that we take the correct branch in various #if/#else/#endifs in order to get the right documentation. Second, add in a few grouping @{ and @} entries in order to get some variables and fields to get grouped together.
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 20dc8c2649..e2be2397af 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -33,6 +33,7 @@ typedef struct pending_consensus_t {
networkstatus_t *consensus;
} pending_consensus_t;
+/* DOCDOC dirvote_add_signatures_to_all_pending_consensuses */
static int dirvote_add_signatures_to_all_pending_consensuses(
const char *detached_signatures_body,
const char *source,
@@ -2679,6 +2680,7 @@ static smartlist_t *pending_vote_list = NULL;
* build a consensus, the votes go here for the next period. */
static smartlist_t *previous_vote_list = NULL;
+/* DOCDOC pending_consensuses */
static pending_consensus_t pending_consensuses[N_CONSENSUS_FLAVORS];
/** The detached signatures for the consensus that we're currently