diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-08-07 18:05:40 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-08-07 18:05:40 +0200 |
commit | 941709ee50654b9ef59836fadbd8c4e7029c9fc1 (patch) | |
tree | a26ba33202de41b41c5bcf2e96d070e72484c6af /src/or/config.h | |
parent | cfb473ed348063e1f1abd709ac313f14d33cadf5 (diff) | |
download | tor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.tar.gz tor-941709ee50654b9ef59836fadbd8c4e7029c9fc1.zip |
Server transport proxies should bind on the same port each time, if possible.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index 49f7e25be6..dc3a828749 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -63,6 +63,10 @@ or_state_t *get_or_state(void); int did_last_state_file_write_fail(void); int or_state_save(time_t now); +void save_transport_to_state(const char *transport_name, + tor_addr_t *addr, uint16_t port); +const char * get_bindaddr_for_transport(const char *transport); + int options_need_geoip_info(or_options_t *options, const char **reason_out); int getinfo_helper_config(control_connection_t *conn, const char *question, char **answer, |