aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-25 15:39:24 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-25 15:39:24 -0400
commit70539e3d5e357521616a083a69712605b7b98c23 (patch)
tree86de66335cd30e0e29111c65286eccd74a7cac76 /src/core/mainloop
parent9385b7ec5f6effce97ae26aa6cda08df5b90309b (diff)
downloadtor-70539e3d5e357521616a083a69712605b7b98c23.tar.gz
tor-70539e3d5e357521616a083a69712605b7b98c23.zip
Move all authdir_mode_*() functions into authmode.h
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 4231bec014..b858b94cd2 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -77,6 +77,7 @@
#include "core/or/connection_or.h"
#include "feature/control/control.h"
#include "lib/crypt_ops/crypto_util.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dircommon/directory.h"
#include "feature/dircache/dirserv.h"
#include "feature/relay/dns.h"
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 105638ffae..6d60b779b8 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -70,6 +70,7 @@
#include "lib/crypt_ops/crypto_rand.h"
#include "feature/dircommon/directory.h"
#include "feature/dircache/dirserv.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/reachability.h"
#include "feature/relay/dns.h"
#include "feature/client/dnsserv.h"