aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/transport_config.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-30 13:55:49 +1000
committerteor <teor@torproject.org>2019-10-31 12:34:20 +1000
commit6d03c0566568f4a56efb4aea2f32bcd86c090a22 (patch)
treef56289ce7fd6af5e7c786132ea795a66375f1540 /src/feature/relay/transport_config.h
parent0a511778eb6f3ca00d0e3da99327cce2cf179830 (diff)
downloadtor-6d03c0566568f4a56efb4aea2f32bcd86c090a22.tar.gz
tor-6d03c0566568f4a56efb4aea2f32bcd86c090a22.zip
config: Move server transport actions into the relay module
This commit: * moves server transport config checks into transport_config.c, * adds thin wrappers to make the moved code compile. No functional changes: the moved code is still enabled, even if the relay module is disabled. (Some of the checks are re-ordered, so the order of some warnings may change.) Part of 32213.
Diffstat (limited to 'src/feature/relay/transport_config.h')
-rw-r--r--src/feature/relay/transport_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/transport_config.h b/src/feature/relay/transport_config.h
index 6ef1bc4020..d3ecc93388 100644
--- a/src/feature/relay/transport_config.h
+++ b/src/feature/relay/transport_config.h
@@ -24,4 +24,6 @@ int options_validate_server_transport(const or_options_t *old_options,
or_options_t *options,
char **msg);
+int options_act_server_transport(const or_options_t *old_options);
+
#endif /* !defined(TOR_FEATURE_RELAY_TRANSPORT_CONFIG_H) */