diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-04 18:50:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-04 19:05:51 -0400 |
commit | f68c042637d253dfb3160357ba2b9ec530cb48ef (patch) | |
tree | 621b700acf4646a720d47b719b30d5ebf2d51ed1 /src/or/networkstatus.c | |
parent | 41e8bee188571ca61c2f5628ea99dff34343d673 (diff) | |
download | tor-f68c042637d253dfb3160357ba2b9ec530cb48ef.tar.gz tor-f68c042637d253dfb3160357ba2b9ec530cb48ef.zip |
Resolve all currently pending DOCDOC items in master
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 3646ee6844..0f51676a0b 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1183,7 +1183,8 @@ update_v2_networkstatus_cache_downloads(time_t now) } } -/** DOCDOC */ +/** Return true iff, given the options listed in <b>options</b>, <b>flavor</b> + * is the flavor of a consensus networkstatus that we would like to fetch. */ static int we_want_to_fetch_flavor(const or_options_t *options, int flavor) { @@ -1455,7 +1456,8 @@ networkstatus_get_latest_consensus(void) return current_consensus; } -/** DOCDOC */ +/** Return the latest consensus we have whose flavor matches <b>f</b>, or NULL + * if we don't have one. */ networkstatus_t * networkstatus_get_latest_consensus_by_flavor(consensus_flavor_t f) { |