diff options
author | teor <teor@torproject.org> | 2019-10-29 16:25:08 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-10-31 12:34:20 +1000 |
commit | 11f283f56139e823d77942276d6229d6c39abd9f (patch) | |
tree | a297d945b76c4d34303cd1ac959c5f917fd059bf /src/test | |
parent | 093a127c82a06546029e42cf0030edf43fb5f87b (diff) | |
download | tor-11f283f56139e823d77942276d6229d6c39abd9f.tar.gz tor-11f283f56139e823d77942276d6229d6c39abd9f.zip |
config: Move server transport config into the relay module
This commit:
* creates feature/relay/transport_config.[ch],
* moves server transport config checks into them,
* exposes some code from src/app/config.c
(we'll refactor it later in 29211), and
* 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/test')
-rw-r--r-- | src/test/test_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c index df025fb8f5..fce6ad97dc 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -18,6 +18,7 @@ #include "core/or/circuitbuild.h" #include "app/config/config.h" #include "feature/relay/relay_config.h" +#include "feature/relay/transport_config.h" #include "lib/confmgt/confmgt.h" #include "core/mainloop/connection.h" #include "core/or/connection_edge.h" |