aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-25 16:00:50 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-25 16:00:50 -0400
commitfcd0f76134c2e1e420b1379906955d41e8a6df66 (patch)
treefbd6c587332809a461f50271bd4c8bdd12bdfeef /src/core/mainloop
parent70539e3d5e357521616a083a69712605b7b98c23 (diff)
downloadtor-fcd0f76134c2e1e420b1379906955d41e8a6df66.tar.gz
tor-fcd0f76134c2e1e420b1379906955d41e8a6df66.zip
Extract all the "am I a server" functions from router.c
Diffstat (limited to 'src/core/mainloop')
-rw-r--r--src/core/mainloop/connection.c1
-rw-r--r--src/core/mainloop/mainloop.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index b858b94cd2..699e7f710a 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -81,6 +81,7 @@
#include "feature/dircommon/directory.h"
#include "feature/dircache/dirserv.h"
#include "feature/relay/dns.h"
+#include "feature/relay/routermode.h"
#include "feature/client/dnsserv.h"
#include "core/or/dos.h"
#include "feature/client/entrynodes.h"
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 6d60b779b8..fb405817d1 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -92,6 +92,7 @@
#include "feature/rend/rendservice.h"
#include "feature/stats/rephist.h"
#include "feature/relay/router.h"
+#include "feature/relay/routermode.h"
#include "feature/relay/routerkeys.h"
#include "feature/relay/selftest.h"
#include "feature/nodelist/routerlist.h"