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/core/include.am | |
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/core/include.am')
-rw-r--r-- | src/core/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/include.am b/src/core/include.am index b08f14d497..eda929df4a 100644 --- a/src/core/include.am +++ b/src/core/include.am @@ -149,6 +149,7 @@ LIBTOR_APP_A_SOURCES = \ src/feature/relay/router.c \ src/feature/relay/routerkeys.c \ src/feature/relay/selftest.c \ + src/feature/relay/transport_config.c \ src/feature/rend/rendcache.c \ src/feature/rend/rendclient.c \ src/feature/rend/rendcommon.c \ @@ -438,6 +439,7 @@ noinst_HEADERS += \ src/feature/relay/routerkeys.h \ src/feature/relay/routermode.h \ src/feature/relay/selftest.h \ + src/feature/relay/transport_config.h \ src/feature/rend/rend_authorized_client_st.h \ src/feature/rend/rend_encoded_v2_service_descriptor_st.h \ src/feature/rend/rend_intro_point_st.h \ |