From 1e5f4574613be3f26cd05f2873fd54ee526a63d7 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 22 Dec 2008 17:53:04 +0000 Subject: Fix most DOCDOCs remaining and/or added by redox. svn:r17734 --- src/or/dirvote.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/or/dirvote.c') diff --git a/src/or/dirvote.c b/src/or/dirvote.c index da34ab1dcf..b276b11fca 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -219,7 +219,9 @@ get_voter(const networkstatus_t *vote) return smartlist_get(vote->voters, 0); } -/* DOCDOC dir_src_ent_t */ +/** Temporary structure used in constructing a list of dir-source entries + * for a consensus. One of these is generated for every vote, and one more + * for every legacy key in each vote. */ typedef struct dir_src_ent_t { networkstatus_t *v; const char *digest; @@ -236,7 +238,9 @@ _compare_votes_by_authority_id(const void **_a, const void **_b) get_voter(b)->identity_digest, DIGEST_LEN); } -/* DOCDOC _compare_dir_src_ents_by_authority_id */ +/** Helper: Compare the dir_src_ent_ts in *_a and *_b by + * their identity digests, and return -1, 0, or 1 depending on their + * ordering */ static int _compare_dir_src_ents_by_authority_id(const void **_a, const void **_b) { -- cgit v1.2.3-54-g00ecf