diff options
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r-- | src/feature/dirauth/dircollate.c | 8 | ||||
-rw-r--r-- | src/feature/dirauth/dircollate.h | 2 | ||||
-rw-r--r-- | src/feature/dirauth/dirvote.c | 76 | ||||
-rw-r--r-- | src/feature/dirauth/keypin.c | 2 | ||||
-rw-r--r-- | src/feature/dirauth/mode.h | 2 | ||||
-rw-r--r-- | src/feature/dirauth/shared_random.c | 34 | ||||
-rw-r--r-- | src/feature/dirauth/shared_random.h | 2 | ||||
-rw-r--r-- | src/feature/dirauth/shared_random_state.c | 22 | ||||
-rw-r--r-- | src/feature/dirauth/shared_random_state.h | 2 |
9 files changed, 75 insertions, 75 deletions
diff --git a/src/feature/dirauth/dircollate.c b/src/feature/dirauth/dircollate.c index 246977dcc8..ca8e5b7873 100644 --- a/src/feature/dirauth/dircollate.c +++ b/src/feature/dirauth/dircollate.c @@ -22,11 +22,11 @@ */ #define DIRCOLLATE_PRIVATE -#include "or/dirauth/dircollate.h" -#include "or/dirauth/dirvote.h" +#include "feature/dirauth/dircollate.h" +#include "feature/dirauth/dirvote.h" -#include "or/networkstatus_st.h" -#include "or/vote_routerstatus_st.h" +#include "feature/nodelist/networkstatus_st.h" +#include "feature/nodelist/vote_routerstatus_st.h" static void dircollator_collate_by_ed25519(dircollator_t *dc); diff --git a/src/feature/dirauth/dircollate.h b/src/feature/dirauth/dircollate.h index aae7829786..0e84c66e6f 100644 --- a/src/feature/dirauth/dircollate.h +++ b/src/feature/dirauth/dircollate.h @@ -13,7 +13,7 @@ #define TOR_DIRCOLLATE_H #include "lib/testsupport/testsupport.h" -#include "or/or.h" +#include "core/or/or.h" typedef struct dircollator_s dircollator_t; diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 15f8378744..2825465677 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -4,44 +4,44 @@ /* See LICENSE for licensing information */ #define DIRVOTE_PRIVATE -#include "or/or.h" -#include "or/config.h" -#include "or/dirauth/dircollate.h" -#include "or/directory.h" -#include "or/dirserv.h" -#include "or/microdesc.h" -#include "or/networkstatus.h" -#include "or/nodelist.h" -#include "or/parsecommon.h" -#include "or/policies.h" -#include "or/protover.h" -#include "or/rephist.h" -#include "or/router.h" -#include "or/routerkeys.h" -#include "or/routerlist.h" -#include "or/routerparse.h" -#include "or/entrynodes.h" /* needed for guardfraction methods */ -#include "or/torcert.h" -#include "or/voting_schedule.h" - -#include "or/dirauth/dirvote.h" -#include "or/dirauth/mode.h" -#include "or/dirauth/shared_random_state.h" - -#include "or/authority_cert_st.h" -#include "or/cached_dir_st.h" -#include "or/dir_server_st.h" -#include "or/document_signature_st.h" -#include "or/microdesc_st.h" -#include "or/networkstatus_st.h" -#include "or/networkstatus_voter_info_st.h" -#include "or/node_st.h" -#include "or/ns_detached_signatures_st.h" -#include "or/routerinfo_st.h" -#include "or/routerlist_st.h" -#include "or/vote_microdesc_hash_st.h" -#include "or/vote_routerstatus_st.h" -#include "or/vote_timing_st.h" +#include "core/or/or.h" +#include "app/config/config.h" +#include "feature/dirauth/dircollate.h" +#include "feature/dircache/directory.h" +#include "feature/dircache/dirserv.h" +#include "feature/nodelist/microdesc.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/nodelist/nodelist.h" +#include "feature/nodelist/parsecommon.h" +#include "core/or/policies.h" +#include "core/proto/protover.h" +#include "feature/stats/rephist.h" +#include "feature/relay/router.h" +#include "feature/relay/routerkeys.h" +#include "feature/nodelist/routerlist.h" +#include "feature/nodelist/routerparse.h" +#include "feature/client/entrynodes.h" /* needed for guardfraction methods */ +#include "feature/nodelist/torcert.h" +#include "feature/dircommon/voting_schedule.h" + +#include "feature/dirauth/dirvote.h" +#include "feature/dirauth/mode.h" +#include "feature/dirauth/shared_random_state.h" + +#include "feature/nodelist/authority_cert_st.h" +#include "feature/dircache/cached_dir_st.h" +#include "feature/dirclient/dir_server_st.h" +#include "feature/nodelist/document_signature_st.h" +#include "feature/nodelist/microdesc_st.h" +#include "feature/nodelist/networkstatus_st.h" +#include "feature/nodelist/networkstatus_voter_info_st.h" +#include "feature/nodelist/node_st.h" +#include "feature/dirauth/ns_detached_signatures_st.h" +#include "feature/nodelist/routerinfo_st.h" +#include "feature/nodelist/routerlist_st.h" +#include "feature/dirauth/vote_microdesc_hash_st.h" +#include "feature/nodelist/vote_routerstatus_st.h" +#include "feature/dircommon/vote_timing_st.h" #include "lib/container/order.h" #include "lib/encoding/confline.h" diff --git a/src/feature/dirauth/keypin.c b/src/feature/dirauth/keypin.c index a2f3654b82..44e19985fa 100644 --- a/src/feature/dirauth/keypin.c +++ b/src/feature/dirauth/keypin.c @@ -30,7 +30,7 @@ #include "lib/wallclock/approx_time.h" #include "ht.h" -#include "or/keypin.h" +#include "feature/dirauth/keypin.h" #include "siphash.h" diff --git a/src/feature/dirauth/mode.h b/src/feature/dirauth/mode.h index 17c35aff64..8bb961dffb 100644 --- a/src/feature/dirauth/mode.h +++ b/src/feature/dirauth/mode.h @@ -11,7 +11,7 @@ #ifdef HAVE_MODULE_DIRAUTH -#include "or/router.h" +#include "feature/relay/router.h" /* Return true iff we believe ourselves to be a v3 authoritative directory * server. */ diff --git a/src/feature/dirauth/shared_random.c b/src/feature/dirauth/shared_random.c index d122690129..8ae2679779 100644 --- a/src/feature/dirauth/shared_random.c +++ b/src/feature/dirauth/shared_random.c @@ -87,25 +87,25 @@ #define SHARED_RANDOM_PRIVATE -#include "or/or.h" -#include "or/dirauth/shared_random.h" -#include "or/config.h" -#include "or/confparse.h" +#include "core/or/or.h" +#include "feature/dirauth/shared_random.h" +#include "app/config/config.h" +#include "app/config/confparse.h" #include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_util.h" -#include "or/networkstatus.h" -#include "or/router.h" -#include "or/routerkeys.h" -#include "or/routerlist.h" -#include "or/shared_random_client.h" -#include "or/dirauth/shared_random_state.h" -#include "or/voting_schedule.h" - -#include "or/dirauth/dirvote.h" -#include "or/dirauth/mode.h" - -#include "or/authority_cert_st.h" -#include "or/networkstatus_st.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/relay/router.h" +#include "feature/relay/routerkeys.h" +#include "feature/nodelist/routerlist.h" +#include "feature/hs_common/shared_random_client.h" +#include "feature/dirauth/shared_random_state.h" +#include "feature/dircommon/voting_schedule.h" + +#include "feature/dirauth/dirvote.h" +#include "feature/dirauth/mode.h" + +#include "feature/nodelist/authority_cert_st.h" +#include "feature/nodelist/networkstatus_st.h" /* String prefix of shared random values in votes/consensuses. */ static const char previous_srv_str[] = "shared-rand-previous-value"; diff --git a/src/feature/dirauth/shared_random.h b/src/feature/dirauth/shared_random.h index 93bab99f71..68ece9aec0 100644 --- a/src/feature/dirauth/shared_random.h +++ b/src/feature/dirauth/shared_random.h @@ -10,7 +10,7 @@ * with "sr_" which stands for shared random. */ -#include "or/or.h" +#include "core/or/or.h" /* Protocol version */ #define SR_PROTO_VERSION 1 diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c index 87ddcc0736..55936a7367 100644 --- a/src/feature/dirauth/shared_random_state.c +++ b/src/feature/dirauth/shared_random_state.c @@ -10,20 +10,20 @@ #define SHARED_RANDOM_STATE_PRIVATE -#include "or/or.h" -#include "or/config.h" -#include "or/confparse.h" +#include "core/or/or.h" +#include "app/config/config.h" +#include "app/config/confparse.h" #include "lib/crypt_ops/crypto_util.h" -#include "or/dirauth/dirvote.h" -#include "or/networkstatus.h" -#include "or/router.h" -#include "or/dirauth/shared_random.h" -#include "or/shared_random_client.h" -#include "or/dirauth/shared_random_state.h" -#include "or/voting_schedule.h" +#include "feature/dirauth/dirvote.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/relay/router.h" +#include "feature/dirauth/shared_random.h" +#include "feature/hs_common/shared_random_client.h" +#include "feature/dirauth/shared_random_state.h" +#include "feature/dircommon/voting_schedule.h" #include "lib/encoding/confline.h" -#include "or/or_state_st.h" +#include "app/config/or_state_st.h" /* Default filename of the shared random state on disk. */ static const char default_fname[] = "sr-state"; diff --git a/src/feature/dirauth/shared_random_state.h b/src/feature/dirauth/shared_random_state.h index f99874872b..83edfaf103 100644 --- a/src/feature/dirauth/shared_random_state.h +++ b/src/feature/dirauth/shared_random_state.h @@ -4,7 +4,7 @@ #ifndef TOR_SHARED_RANDOM_STATE_H #define TOR_SHARED_RANDOM_STATE_H -#include "or/dirauth/shared_random.h" +#include "feature/dirauth/shared_random.h" /* Action that can be performed on the state for any objects. */ typedef enum { |