aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-25 15:18:19 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-25 15:18:21 -0400
commit9385b7ec5f6effce97ae26aa6cda08df5b90309b (patch)
treef06277853f07a568e76ad4f5f6da0a005bad6ce7
parent8a350e088bf59355f5e2fa3a05fa545923d4e74d (diff)
downloadtor-9385b7ec5f6effce97ae26aa6cda08df5b90309b.tar.gz
tor-9385b7ec5f6effce97ae26aa6cda08df5b90309b.zip
Rename dirauth/mode.h to dirauth/authmode.h
This is preparation for having a routermode.h as well
-rw-r--r--src/app/config/config.c2
-rw-r--r--src/app/main/main.c2
-rw-r--r--src/core/include.am2
-rw-r--r--src/core/mainloop/mainloop.c2
-rw-r--r--src/feature/dirauth/authmode.h (renamed from src/feature/dirauth/mode.h)0
-rw-r--r--src/feature/dirauth/dirvote.c2
-rw-r--r--src/feature/dirauth/shared_random.c2
-rw-r--r--src/feature/dircache/dircache.c2
-rw-r--r--src/feature/dirclient/dirclient.c2
-rw-r--r--src/feature/nodelist/networkstatus.c2
-rw-r--r--src/feature/nodelist/nodelist.c2
-rw-r--r--src/feature/nodelist/routerlist.c2
-rw-r--r--src/feature/relay/router.c2
13 files changed, 12 insertions, 12 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 01b48e3c5f..68139a997f 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -144,7 +144,7 @@
#include "feature/dirauth/dirvote.h"
#include "feature/dirauth/recommend_pkg.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "core/or/connection_st.h"
#include "core/or/port_cfg_st.h"
diff --git a/src/app/main/main.c b/src/app/main/main.c
index d71e1c7bf2..c6d7792754 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -81,7 +81,7 @@
#include <event2/event.h>
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/shared_random.h"
#include "core/or/or_connection_st.h"
diff --git a/src/core/include.am b/src/core/include.am
index 2369480bea..5e6e95da13 100644
--- a/src/core/include.am
+++ b/src/core/include.am
@@ -246,12 +246,12 @@ noinst_HEADERS += \
src/feature/control/control.h \
src/feature/control/control_connection_st.h \
src/feature/control/fmt_serverstatus.h \
+ src/feature/dirauth/authmode.h \
src/feature/dirauth/bwauth.h \
src/feature/dirauth/dircollate.h \
src/feature/dirauth/dirvote.h \
src/feature/dirauth/guardfraction.h \
src/feature/dirauth/keypin.h \
- src/feature/dirauth/mode.h \
src/feature/dirauth/ns_detached_signatures_st.h \
src/feature/dirauth/reachability.h \
src/feature/dirauth/recommend_pkg.h \
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 5e435ad98e..105638ffae 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -102,7 +102,7 @@
#include <event2/event.h>
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "core/or/cell_st.h"
#include "core/or/entry_connection_st.h"
diff --git a/src/feature/dirauth/mode.h b/src/feature/dirauth/authmode.h
index 8bb961dffb..8bb961dffb 100644
--- a/src/feature/dirauth/mode.h
+++ b/src/feature/dirauth/authmode.h
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c
index a1fe0d4234..edb0ad2aea 100644
--- a/src/feature/dirauth/dirvote.c
+++ b/src/feature/dirauth/dirvote.c
@@ -34,7 +34,7 @@
#include "feature/dircommon/voting_schedule.h"
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/shared_random_state.h"
#include "feature/nodelist/authority_cert_st.h"
diff --git a/src/feature/dirauth/shared_random.c b/src/feature/dirauth/shared_random.c
index 85ec82ac00..db4f9d328c 100644
--- a/src/feature/dirauth/shared_random.c
+++ b/src/feature/dirauth/shared_random.c
@@ -102,7 +102,7 @@
#include "feature/dircommon/voting_schedule.h"
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/nodelist/authority_cert_st.h"
#include "feature/nodelist/networkstatus_st.h"
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c
index 7bfc539829..c58512814e 100644
--- a/src/feature/dircache/dircache.c
+++ b/src/feature/dircache/dircache.c
@@ -11,7 +11,7 @@
#include "core/mainloop/connection.h"
#include "core/or/relay.h"
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/process_descs.h"
#include "feature/dircache/conscache.h"
#include "feature/dircache/consdiffmgr.h"
diff --git a/src/feature/dirclient/dirclient.c b/src/feature/dirclient/dirclient.c
index 89bc19f84b..bd6800c74f 100644
--- a/src/feature/dirclient/dirclient.c
+++ b/src/feature/dirclient/dirclient.c
@@ -16,7 +16,7 @@
#include "feature/client/entrynodes.h"
#include "feature/control/control.h"
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/shared_random.h"
#include "feature/dircache/dirserv.h"
#include "feature/dirclient/dirclient.h"
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index c6a51aefc7..2ce38e2046 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -79,7 +79,7 @@
#include "feature/nodelist/fmt_routerstatus.h"
#include "feature/dirauth/dirvote.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirauth/shared_random.h"
#include "feature/dirauth/voteflags.h"
diff --git a/src/feature/nodelist/nodelist.c b/src/feature/nodelist/nodelist.c
index ce77d71c64..b5ded356ba 100644
--- a/src/feature/nodelist/nodelist.c
+++ b/src/feature/nodelist/nodelist.c
@@ -69,7 +69,7 @@
#include <string.h>
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dirclient/dir_server_st.h"
#include "feature/nodelist/microdesc_st.h"
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c
index 5c6a104779..afecaa4fb5 100644
--- a/src/feature/nodelist/routerlist.c
+++ b/src/feature/nodelist/routerlist.c
@@ -68,7 +68,7 @@
#include "core/or/policies.h"
#include "feature/client/bridges.h"
#include "feature/control/control.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/dircommon/directory.h"
#include "feature/dirclient/dirclient.h"
#include "feature/dircache/dirserv.h"
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 480f23a107..3e19c7b619 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -44,7 +44,7 @@
#include "feature/client/transports.h"
#include "feature/nodelist/routerset.h"
-#include "feature/dirauth/mode.h"
+#include "feature/dirauth/authmode.h"
#include "feature/nodelist/authority_cert_st.h"
#include "core/or/crypt_path_st.h"