diff options
author | David Goulet <dgoulet@torproject.org> | 2020-05-05 13:42:52 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-05-05 14:24:04 -0400 |
commit | a25f16707296b0a25c09c09cc31387b9ef799fae (patch) | |
tree | 6337c129e484478d918c21d6f4704ba02c6a5eec /src/feature | |
parent | 445df9e7b5bbb0ea080bbed25dc4f3b52b0eb7df (diff) | |
download | tor-a25f16707296b0a25c09c09cc31387b9ef799fae.tar.gz tor-a25f16707296b0a25c09c09cc31387b9ef799fae.zip |
config: New file resolve_addr.{c|h}
Move a series of function from config.c into that new file which is related to
address resolving.
Part of #33789
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/dirauth/dirauth_config.c | 1 | ||||
-rw-r--r-- | src/feature/dirauth/dirvote.c | 1 | ||||
-rw-r--r-- | src/feature/dircache/dircache.c | 1 | ||||
-rw-r--r-- | src/feature/nodelist/dirlist.c | 1 | ||||
-rw-r--r-- | src/feature/relay/relay_resolve_addr.c | 1 | ||||
-rw-r--r-- | src/feature/relay/router.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c index 38d2a8bc5a..a0b6de7eca 100644 --- a/src/feature/dirauth/dirauth_config.c +++ b/src/feature/dirauth/dirauth_config.c @@ -20,6 +20,7 @@ /* Required for dirinfo_type_t in or_options_t */ #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "feature/dirauth/voting_schedule.h" #include "feature/stats/rephist.h" diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 7eb2b720a6..6bf30d083b 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -6,6 +6,7 @@ #define DIRVOTE_PRIVATE #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "core/or/policies.h" #include "core/or/protover.h" #include "core/or/tor_version_st.h" diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c index 4f7f209207..ca127720f2 100644 --- a/src/feature/dircache/dircache.c +++ b/src/feature/dircache/dircache.c @@ -13,6 +13,7 @@ #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "core/mainloop/connection.h" #include "core/or/relay.h" #include "feature/dirauth/dirvote.h" diff --git a/src/feature/nodelist/dirlist.c b/src/feature/nodelist/dirlist.c index ad3af0a143..d7069bb0ec 100644 --- a/src/feature/nodelist/dirlist.c +++ b/src/feature/nodelist/dirlist.c @@ -27,6 +27,7 @@ #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "core/or/policies.h" #include "feature/control/control_events.h" #include "feature/dirauth/authmode.h" diff --git a/src/feature/relay/relay_resolve_addr.c b/src/feature/relay/relay_resolve_addr.c index 7d83d870c7..c929219d45 100644 --- a/src/feature/relay/relay_resolve_addr.c +++ b/src/feature/relay/relay_resolve_addr.c @@ -9,6 +9,7 @@ #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "core/mainloop/mainloop.h" diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c index cbb49ede15..e20e7709e9 100644 --- a/src/feature/relay/router.c +++ b/src/feature/relay/router.c @@ -8,6 +8,7 @@ #include "core/or/or.h" #include "app/config/config.h" +#include "app/config/resolve_addr.h" #include "app/config/statefile.h" #include "app/main/main.h" #include "core/mainloop/connection.h" |