From fcd0f76134c2e1e420b1379906955d41e8a6df66 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 Sep 2018 16:00:50 -0400 Subject: Extract all the "am I a server" functions from router.c --- src/app/config/config.c | 1 + src/app/config/statefile.c | 1 + src/app/main/main.c | 1 + 3 files changed, 3 insertions(+) (limited to 'src/app') diff --git a/src/app/config/config.c b/src/app/config/config.c index 68139a997f..65899b6400 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -106,6 +106,7 @@ #include "feature/hs/hs_config.h" #include "feature/stats/rephist.h" #include "feature/relay/router.h" +#include "feature/relay/routermode.h" #include "lib/sandbox/sandbox.h" #include "feature/nodelist/dirlist.h" #include "feature/nodelist/routerset.h" diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c index 208189db44..510b8964b2 100644 --- a/src/app/config/statefile.c +++ b/src/app/config/statefile.c @@ -40,6 +40,7 @@ #include "feature/hibernate/hibernate.h" #include "feature/stats/rephist.h" #include "feature/relay/router.h" +#include "feature/relay/routermode.h" #include "lib/sandbox/sandbox.h" #include "app/config/statefile.h" #include "lib/encoding/confline.h" diff --git a/src/app/main/main.c b/src/app/main/main.c index c6d7792754..6c7312f676 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -35,6 +35,7 @@ #include "feature/dirauth/bwauth.h" #include "feature/dirauth/process_descs.h" #include "feature/relay/dns.h" +#include "feature/relay/routermode.h" #include "feature/client/entrynodes.h" #include "feature/stats/geoip.h" #include "feature/hibernate/hibernate.h" -- cgit v1.2.3-54-g00ecf