diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
commit | 558e9899e4d11d8ef194e5bc1761d5d2f6dff450 (patch) | |
tree | 45eb50017f2b65c70babf90b3c088a3c952ce6de /src/or/networkstatus.c | |
parent | d7f55dafe0287c1a8c13478c4e077da65533769c (diff) | |
download | tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.tar.gz tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.zip |
Document most undocumented variables.
svn:r17754
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 7b74dab51f..d7a2520278 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -39,11 +39,14 @@ static networkstatus_t *current_consensus = NULL; /** A v3 consensus networkstatus that we've received, but which we don't * have enough certificates to be happy about. */ static networkstatus_t *consensus_waiting_for_certs = NULL; -/* DOCDOC consensus_waiting_for_certs_body */ +/** The encoded version of consensus_waiting_for_certs. */ static char *consensus_waiting_for_certs_body = NULL; -/* DOCDOC consensus_waiting_for_certs_set_at */ +/** When did we set the current value of consensus_waiting_for_certs? If this + * is too recent, we shouldn't try to fetch a new consensus for a little while, + * to give ourselves time to get certificates for this one. */ static time_t consensus_waiting_for_certs_set_at = 0; -/* DOCDOC consensus_waiting_for_certs_dl_failed */ +/** Set to 1 if we've been holding on to consensus_waiting_for_certs so long + * that we should treat it as maybe being bad. */ static int consensus_waiting_for_certs_dl_failed = 0; /** The last time we tried to download a networkstatus, or 0 for "never". We |