aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-28 03:15:50 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-28 03:15:50 +0000
commitbe7054c6265f19134edc6cfef482b13e86e59cb5 (patch)
tree6cdd5f7d0a9f3048981080e3ae937b08db904077 /src/or/or.h
parentc38cc0eb4abbc6822f8a474027a8d60a2da879d6 (diff)
downloadtor-be7054c6265f19134edc6cfef482b13e86e59cb5.tar
tor-be7054c6265f19134edc6cfef482b13e86e59cb5.tar.gz
r8607@Kushana: nickm | 2006-08-27 15:45:42 -0400
Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use. svn:r8254
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 79a9ebe36..8a4013aee 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1556,8 +1556,12 @@ typedef struct {
char *VirtualAddrNetwork; /**< Address and mask to hand out for virtual
* MAPADDRESS requests. */
- smartlist_t *Nameservers; /**< If provided, overrides the platform nameserver
- * list. when using eventdns. */
+ int SearchDomains; /**< If provided, we don't force exit addresses to be
+ * fqdns, but rather search for them in the local
+ * domains. */
+ char *ResolvConf; /**< If provided, we configure our internal resolver from
+ * the file here rather than from /etc/resolv.conf (unix)
+ * or the registry (windows) */
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */