aboutsummaryrefslogtreecommitdiff
path: root/src/or/transports.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2012-07-12 15:28:43 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2012-07-12 15:28:43 +0200
commit8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac (patch)
tree37e4c07f6a86c6f4117a9f6e33b2ecfdaa02ca1e /src/or/transports.h
parentf8e49c57893f35b9b3c45865d00040bd05e53f0c (diff)
downloadtor-8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac.tar.gz
tor-8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac.zip
Address Nick's comments.
- Add a changes/ file. - Make it compile under --enable-gcc-warnings. - Update the file-level documentation of src/or/transports.c. - Only update descriptor if at least a managed proxy was configured. - Add our external IP address to the extra-info descriptor instead of 0.0.0.0.
Diffstat (limited to 'src/or/transports.h')
-rw-r--r--src/or/transports.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/transports.h b/src/or/transports.h
index 17d99dd754..3fd97f8c2a 100644
--- a/src/or/transports.h
+++ b/src/or/transports.h
@@ -12,12 +12,13 @@
#define TOR_TRANSPORTS_H
/** Represents a pluggable transport used by a bridge. */
-typedef struct {
+typedef struct transport_t {
/** SOCKS version: One of PROXY_SOCKS4, PROXY_SOCKS5. */
int socks_version;
/** Name of pluggable transport protocol */
char *name;
- /** Address of proxy */
+ /** The IP address where the transport bound and is waiting for
+ * connections. */
tor_addr_t addr;
/** Port of proxy */
uint16_t port;