diff options
author | teor <teor@torproject.org> | 2019-10-28 23:47:44 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-10-31 12:34:19 +1000 |
commit | 5950566f1de8f9b542e2ef862cc2ae94b04917f0 (patch) | |
tree | 0768a09d8314b141f7d81c2952b4700b7d04944b /src/core | |
parent | 40e75bc3e172a38ab0a3b7747b11c8838e22a268 (diff) | |
download | tor-5950566f1de8f9b542e2ef862cc2ae94b04917f0.tar.gz tor-5950566f1de8f9b542e2ef862cc2ae94b04917f0.zip |
config: Move dirauth config into the dirauth module
This commit:
* creates feature/dirauth/dirauth_config.[ch],
* moves the dirauth config code into them,
* copies some macros from src/app/config.c
(we'll refactor them 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 dirauth module is disabled.
Part of 32213.
Diffstat (limited to 'src/core')
-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 565668abe3..222bd44df5 100644 --- a/src/core/include.am +++ b/src/core/include.am @@ -89,6 +89,7 @@ LIBTOR_APP_A_SOURCES = \ src/feature/control/control_proto.c \ src/feature/control/fmt_serverstatus.c \ src/feature/control/getinfo_geoip.c \ + src/feature/dirauth/dirauth_config.c \ src/feature/dircache/conscache.c \ src/feature/dircache/consdiffmgr.c \ src/feature/dircache/dircache.c \ @@ -336,6 +337,7 @@ noinst_HEADERS += \ src/feature/dirauth/authmode.h \ src/feature/dirauth/bridgeauth.h \ src/feature/dirauth/bwauth.h \ + src/feature/dirauth/dirauth_config.h \ src/feature/dirauth/dirauth_periodic.h \ src/feature/dirauth/dirauth_sys.h \ src/feature/dirauth/dircollate.h \ |