summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-02 20:06:43 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-02 20:06:43 +0000
commitfefba953634ef35e2ec83716924c84a375e86ad6 (patch)
tree58f786243ef3553a70dedc8f34db668764071099 /src/or/circuituse.c
parente521c96cb191ae746e06304b6bba49d925f63469 (diff)
downloadtor-fefba953634ef35e2ec83716924c84a375e86ad6.tar.gz
tor-fefba953634ef35e2ec83716924c84a375e86ad6.zip
r11629@catbus: nickm | 2007-02-02 15:06:17 -0500
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 36c7a0ac1e..be68088a22 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -22,7 +22,7 @@ extern circuit_t *global_circuitlist; /* from circuitlist.c */
static void circuit_expire_old_circuits(time_t now);
static void circuit_increment_failure_count(void);
-/* Return 1 if <b>circ</b> could be returned by circuit_get_best().
+/** Return 1 if <b>circ</b> could be returned by circuit_get_best().
* Else return 0.
*/
static int
@@ -112,7 +112,7 @@ circuit_is_acceptable(circuit_t *circ, edge_connection_t *conn,
return 1;
}
-/* Return 1 if circuit <b>a</b> is better than circuit <b>b</b> for
+/** Return 1 if circuit <b>a</b> is better than circuit <b>b</b> for
* <b>purpose</b>, and return 0 otherwise. Used by circuit_get_best.
*/
static int
@@ -566,8 +566,10 @@ circuit_expire_old_circuits(time_t now)
}
}
+/** DOCDOC */
#define NUM_PARALLEL_TESTING_CIRCS 4
+/** DOCDOC */
static int have_performed_bandwidth_test = 0;
/** Reset have_performed_bandwidth_test, so we'll start building
@@ -774,6 +776,7 @@ circuit_build_failed(origin_circuit_t *circ)
* circuit_launch_new and circuit_*_failure_count.
*/
static int n_circuit_failures = 0;
+/** DOCDOC */
static int did_circs_fail_last_period = 0;
/** Don't retry launching a new circuit if we try this many times with no