summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-08 13:34:40 -0500
committerNick Mathewson <nickm@torproject.org>2011-05-05 20:54:11 -0400
commitba1143e4680c9f41c1c2040a1181c522c9bb8e8d (patch)
tree28852bf5f96f1a80d364bd56ec746e2964d57987 /src/or/or.h
parent08e6bd0ed1d319eaf112c273c68f21d3351fcdcc (diff)
downloadtor-ba1143e4680c9f41c1c2040a1181c522c9bb8e8d.tar.gz
tor-ba1143e4680c9f41c1c2040a1181c522c9bb8e8d.zip
Add a new configuration type, "AUTOBOOL", to handle 1/0/auto types
We only have one of these now, but I'm about to add a few more. Yes, I have already thought of the "Filenotfoundian logic" joke.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 9b5150ae29..0becc3cdac 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2669,12 +2669,10 @@ typedef struct {
uint64_t ConstrainedSockSize; /**< Size of constrained buffers. */
/** Whether we should drop exit streams from Tors that we don't know are
- * relays. One of "0" (never refuse), "1" (always refuse), or "auto" (do
+ * relays. One of "0" (never refuse), "1" (always refuse), or "-1" (do
* what the consensus says, defaulting to 'refuse' if the consensus says
* nothing). */
- char *RefuseUnknownExits;
- /** Parsed version of RefuseUnknownExits. -1 for auto. */
- int RefuseUnknownExits_;
+ int RefuseUnknownExits;
/** Application ports that require all nodes in circ to have sufficient
* uptime. */