aboutsummaryrefslogtreecommitdiff
path: root/src/or/transports.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-08-07 18:05:40 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-08-07 18:05:40 +0200
commit941709ee50654b9ef59836fadbd8c4e7029c9fc1 (patch)
treea26ba33202de41b41c5bcf2e96d070e72484c6af /src/or/transports.h
parentcfb473ed348063e1f1abd709ac313f14d33cadf5 (diff)
downloadtor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.tar
tor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.tar.gz
Server transport proxies should bind on the same port each time, if possible.
Diffstat (limited to 'src/or/transports.h')
-rw-r--r--src/or/transports.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/transports.h b/src/or/transports.h
index 17a68030d..8bd79fe64 100644
--- a/src/or/transports.h
+++ b/src/or/transports.h
@@ -40,10 +40,12 @@ typedef struct {
enum pt_proto_state conf_state; /* the current configuration state */
int conf_protocol; /* the configuration protocol version used */
+ int is_server; /* is it a server proxy? */
+
FILE *stdout; /* a stream to its stdout
(closed in managed_proxy_destroy()) */
- smartlist_t *transports; /* list of transports this proxy spawns */
+ smartlist_t *transports; /* list of transport_t this proxy spawns */
} managed_proxy_t;
int parse_cmethod_line(char *line, managed_proxy_t *mp);