summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-22 14:56:28 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-22 14:56:28 +0000
commit1725c0c8a50cb4de34157aee720af6753821f80c (patch)
treeff61e0f1234abc1a087456869a929d8a88d19463 /src/or/dirvote.c
parentef1be06de6d47daea90f8fccf9d627d083d4c071 (diff)
downloadtor-1725c0c8a50cb4de34157aee720af6753821f80c.tar.gz
tor-1725c0c8a50cb4de34157aee720af6753821f80c.zip
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
svn:r17729
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index a245b36e7a..da34ab1dcf 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -219,7 +219,8 @@ get_voter(const networkstatus_t *vote)
return smartlist_get(vote->voters, 0);
}
-typedef struct {
+/* DOCDOC dir_src_ent_t */
+typedef struct dir_src_ent_t {
networkstatus_t *v;
const char *digest;
int is_legacy;
@@ -235,6 +236,7 @@ _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 */
static int
_compare_dir_src_ents_by_authority_id(const void **_a, const void **_b)
{