aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-06 15:15:18 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-06 15:15:18 -0500
commit90b9e23bec4687962a999c2575909b9230bd425a (patch)
treebff22d42a1f910faacbc7c872282335ca636fb4e /src/or/or.h
parent3401c34151a29fe962944ce3ea77f14056c87efa (diff)
parentd87143f3199fe6be6e0a4907e82b25727622c857 (diff)
downloadtor-90b9e23bec4687962a999c2575909b9230bd425a.tar.gz
tor-90b9e23bec4687962a999c2575909b9230bd425a.zip
Merge branch 'exitnode_10067_squashed'
Conflicts: src/or/or.h
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c0ecadc0e2..58e2164665 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4271,6 +4271,14 @@ typedef struct {
* when sending.
*/
int SchedulerMaxFlushCells__;
+
+ /** Is this an exit node? This is a tristate, where "1" means "yes, and use
+ * the default exit policy if none is given" and "0" means "no; exit policy
+ * is 'reject *'" and "auto" (-1) means "same as 1, but warn the user."
+ *
+ * XXXX Eventually, the default will be 0. */
+ int ExitRelay;
+
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */