aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-06-01 07:03:01 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-11-24 03:54:32 -0800
commitb2212bf9b4e7f06d7383eb9235392cbdf735bbdb (patch)
treef7a4eaf131be65545254665a59ca521b8af323db /src/or/or.h
parent11221d0f17bf3ea6039249ad8b06b3a1afd6291d (diff)
downloadtor-b2212bf9b4e7f06d7383eb9235392cbdf735bbdb.tar
tor-b2212bf9b4e7f06d7383eb9235392cbdf735bbdb.tar.gz
Add Tor2webMode configuration option
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 67ba62bdd..8515db667 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3008,6 +3008,11 @@ typedef struct {
int AllDirActionsPrivate; /**< Should every directory action be sent
* through a Tor circuit? */
+ /** Run in 'tor2web mode'? (I.e. only make client connections to hidden
+ * services, and use a single hop for all hidden-service-related
+ * circuits.) */
+ int Tor2webMode;
+
int ConnLimit; /**< Demanded minimum number of simultaneous connections. */
int _ConnLimit; /**< Maximum allowed number of simultaneous connections. */
int RunAsDaemon; /**< If true, run in the background. (Unix only) */