diff options
author | teor <teor@torproject.org> | 2019-10-30 15:30:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-10-31 12:34:20 +1000 |
commit | fc5da4ad048af372b7765aa0d10acba05bc6d2dc (patch) | |
tree | 9672286b62eccab898e29ec9cff063d69d70e341 /src/test/test_dir_handle_get.c | |
parent | 6d03c0566568f4a56efb4aea2f32bcd86c090a22 (diff) | |
download | tor-fc5da4ad048af372b7765aa0d10acba05bc6d2dc.tar.gz tor-fc5da4ad048af372b7765aa0d10acba05bc6d2dc.zip |
config: Move relay config actions into the relay module
This commit:
* moves relay config actions into relay_config,
* moves get_dirportfrontpage() into relay_config,
* 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/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index edfd0c74e1..43b8324fc1 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -20,6 +20,7 @@ #include "lib/compress/compress.h" #include "feature/rend/rendcommon.h" #include "feature/rend/rendcache.h" +#include "feature/relay/relay_config.h" #include "feature/relay/router.h" #include "feature/nodelist/authcert.h" #include "feature/nodelist/dirlist.h" |