From 6d03c0566568f4a56efb4aea2f32bcd86c090a22 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 30 Oct 2019 13:55:49 +1000 Subject: 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. --- src/feature/relay/transport_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/feature/relay/transport_config.h') 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) */ -- cgit v1.2.3-54-g00ecf