[tor-commits] [tor/master] Rename dirauth/mode.h to dirauth/authmode.h

nickm at torproject.org nickm at torproject.org
Wed Sep 26 13:52:22 UTC 2018


commit 9385b7ec5f6effce97ae26aa6cda08df5b90309b
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Sep 25 15:18:19 2018 -0400

    Rename dirauth/mode.h to dirauth/authmode.h
    
    This is preparation for having a routermode.h as well
---
 src/app/config/config.c                    | 2 +-
 src/app/main/main.c                        | 2 +-
 src/core/include.am                        | 2 +-
 src/core/mainloop/mainloop.c               | 2 +-
 src/feature/dirauth/{mode.h => authmode.h} | 0
 src/feature/dirauth/dirvote.c              | 2 +-
 src/feature/dirauth/shared_random.c        | 2 +-
 src/feature/dircache/dircache.c            | 2 +-
 src/feature/dirclient/dirclient.c          | 2 +-
 src/feature/nodelist/networkstatus.c       | 2 +-
 src/feature/nodelist/nodelist.c            | 2 +-
 src/feature/nodelist/routerlist.c          | 2 +-
 src/feature/relay/router.c                 | 2 +-
 13 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/app/config/config.c b/src/app/config/config.c
index 01b48e3c5..68139a997 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 d71e1c7bf..c6d779275 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 2369480be..5e6e95da1 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 5e435ad98..105638ffa 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
similarity index 100%
rename from src/feature/dirauth/mode.h
rename to src/feature/dirauth/authmode.h
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c
index a1fe0d423..edb0ad2ae 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 85ec82ac0..db4f9d328 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 7bfc53982..c58512814 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 89bc19f84..bd6800c74 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 c6a51aefc..2ce38e204 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 ce77d71c6..b5ded356b 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 5c6a10477..afecaa4fb 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 480f23a10..3e19c7b61 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"





More information about the tor-commits mailing list