aboutsummaryrefslogtreecommitdiff
path: root/src/core
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
parent9385b7ec5f6effce97ae26aa6cda08df5b90309b (diff)
downloadtor-70539e3d5e357521616a083a69712605b7b98c23.tar.gz
tor-70539e3d5e357521616a083a69712605b7b98c23.zip
Move all authdir_mode_*() functions into authmode.h
Diffstat (limited to 'src/core')
-rw-r--r--src/core/include.am1
-rw-r--r--src/core/mainloop/connection.c1
-rw-r--r--src/core/mainloop/mainloop.c1
-rw-r--r--src/core/or/circuitstats.c1
-rw-r--r--src/core/or/connection_or.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/core/include.am b/src/core/include.am
index 5e6e95da13..abbf89f69d 100644
--- a/src/core/include.am
+++ b/src/core/include.am
@@ -138,6 +138,7 @@ LIBTOR_APP_TESTING_A_SOURCES = $(LIBTOR_APP_A_SOURCES)
# The Directory Authority module.
MODULE_DIRAUTH_SOURCES = \
+ src/feature/dirauth/authmode.c \
src/feature/dirauth/dircollate.c \
src/feature/dirauth/dirvote.c \
src/feature/dirauth/shared_random.c \
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"
diff --git a/src/core/or/circuitstats.c b/src/core/or/circuitstats.c
index 2f37cdfa1a..0429f2c86e 100644
--- a/src/core/or/circuitstats.c
+++ b/src/core/or/circuitstats.c
@@ -43,6 +43,7 @@
#include "lib/math/fp.h"
#include "lib/time/tvdiff.h"
#include "lib/encoding/confline.h"
+#include "feature/dirauth/authmode.h"
#include "core/or/crypt_path_st.h"
#include "core/or/origin_circuit_st.h"
diff --git a/src/core/or/connection_or.c b/src/core/or/connection_or.c
index ca69fa00d4..7902b6c59d 100644
--- a/src/core/or/connection_or.c
+++ b/src/core/or/connection_or.c
@@ -62,6 +62,7 @@
#include "core/or/scheduler.h"
#include "feature/nodelist/torcert.h"
#include "core/or/channelpadding.h"
+#include "feature/dirauth/authmode.h"
#include "core/or/cell_st.h"
#include "core/or/cell_queue_st.h"