aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-06-03 11:17:15 -0400
committerNick Mathewson <nickm@torproject.org>2011-06-03 11:17:15 -0400
commit14c0251d95d9d86f4dba1d7d2da16661f1a87012 (patch)
tree9099b8723962966069d6f27957339d379f029e5e /src/or/or.h
parent13ec1bf5c2d5195789eaa0a002d021c9693a3b71 (diff)
downloadtor-14c0251d95d9d86f4dba1d7d2da16661f1a87012.tar
tor-14c0251d95d9d86f4dba1d7d2da16661f1a87012.tar.gz
Use an autobool for UseBridges_
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 1b4cdb8a5..b4000add8 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2646,11 +2646,12 @@ typedef struct {
* when doing so. */
char *BridgePassword;
- /** Whether we should start all circuits with a bridge. "1" means strictly
- * yes, "0" means strictly no, and "auto" means that we do iff any bridges
- * are configured, we are not running a server and have not specified a list
- * of entry nodes. */
- char *UseBridges_;
+ /** Whether we should start all circuits with a bridge. This is an
+ * "autobool": 1 means strictly yes, 0 means strictly no, and -1 means that
+ * we do iff any bridges are configured, we are not running a server and
+ * have not specified a list of entry nodes. Don't use this value directly;
+ * use <b>UseBridges</b> instead. */
+ int UseBridges_;
/** Effective value of UseBridges. Will be set equally for UseBridges set to
* 1 or 0, but for 'auto' it will be set to 1 iff any bridges are
* configured, we are not running a server and have not specified a list of