From ef486e3c029efe8cb18886eea52f20af766f9daa Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 5 Jul 2018 16:34:59 -0400 Subject: Fix every include path changed in the previous commit (automated) I am very glad to have written this script. --- src/feature/dircache/conscache.c | 6 +-- src/feature/dircache/consdiffmgr.c | 20 ++++----- src/feature/dircache/directory.c | 92 +++++++++++++++++++------------------- src/feature/dircache/directory.h | 2 +- src/feature/dircache/dirserv.c | 80 ++++++++++++++++----------------- 5 files changed, 100 insertions(+), 100 deletions(-) (limited to 'src/feature/dircache') diff --git a/src/feature/dircache/conscache.c b/src/feature/dircache/conscache.c index bc5928ff23..e9bf58a180 100644 --- a/src/feature/dircache/conscache.c +++ b/src/feature/dircache/conscache.c @@ -1,10 +1,10 @@ /* Copyright (c) 2017-2018, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -#include "or/or.h" +#include "core/or/or.h" -#include "or/config.h" -#include "or/conscache.h" +#include "app/config/config.h" +#include "feature/dircache/conscache.h" #include "lib/crypt_ops/crypto_util.h" #include "lib/fs/storagedir.h" #include "lib/encoding/confline.h" diff --git a/src/feature/dircache/consdiffmgr.c b/src/feature/dircache/consdiffmgr.c index 6d5183f934..304b64f3b6 100644 --- a/src/feature/dircache/consdiffmgr.c +++ b/src/feature/dircache/consdiffmgr.c @@ -13,21 +13,21 @@ #define CONSDIFFMGR_PRIVATE -#include "or/or.h" -#include "or/config.h" -#include "or/conscache.h" -#include "or/consdiff.h" -#include "or/consdiffmgr.h" -#include "or/cpuworker.h" -#include "or/networkstatus.h" -#include "or/routerparse.h" +#include "core/or/or.h" +#include "app/config/config.h" +#include "feature/dircache/conscache.h" +#include "feature/dircommon/consdiff.h" +#include "feature/dircache/consdiffmgr.h" +#include "core/mainloop/cpuworker.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/nodelist/routerparse.h" #include "lib/evloop/compat_libevent.h" #include "lib/evloop/workqueue.h" #include "lib/compress/compress.h" #include "lib/encoding/confline.h" -#include "or/networkstatus_st.h" -#include "or/networkstatus_voter_info_st.h" +#include "feature/nodelist/networkstatus_st.h" +#include "feature/nodelist/networkstatus_voter_info_st.h" /** * Labels to apply to items in the conscache object. diff --git a/src/feature/dircache/directory.c b/src/feature/dircache/directory.c index 8f2bd8d3a7..a723176185 100644 --- a/src/feature/dircache/directory.c +++ b/src/feature/dircache/directory.c @@ -5,44 +5,44 @@ #define DIRECTORY_PRIVATE -#include "or/or.h" +#include "core/or/or.h" #include "lib/err/backtrace.h" -#include "or/bridges.h" +#include "feature/client/bridges.h" #include "lib/container/buffers.h" -#include "or/circuitbuild.h" -#include "or/config.h" -#include "or/connection.h" -#include "or/connection_edge.h" -#include "or/conscache.h" -#include "or/consdiff.h" -#include "or/consdiffmgr.h" -#include "or/control.h" +#include "core/or/circuitbuild.h" +#include "app/config/config.h" +#include "core/mainloop/connection.h" +#include "core/or/connection_edge.h" +#include "feature/dircache/conscache.h" +#include "feature/dircommon/consdiff.h" +#include "feature/dircache/consdiffmgr.h" +#include "feature/control/control.h" #include "lib/compress/compress.h" #include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_util.h" -#include "or/directory.h" -#include "or/dirserv.h" -#include "or/entrynodes.h" -#include "or/fp_pair.h" -#include "or/geoip.h" -#include "or/hs_cache.h" -#include "or/hs_common.h" -#include "or/hs_control.h" -#include "or/hs_client.h" -#include "or/main.h" -#include "or/microdesc.h" -#include "or/networkstatus.h" -#include "or/nodelist.h" -#include "or/policies.h" -#include "or/relay.h" -#include "or/rendclient.h" -#include "or/rendcommon.h" -#include "or/rendservice.h" -#include "or/rephist.h" -#include "or/router.h" -#include "or/routerlist.h" -#include "or/routerparse.h" -#include "or/routerset.h" +#include "feature/dircache/directory.h" +#include "feature/dircache/dirserv.h" +#include "feature/client/entrynodes.h" +#include "feature/dircommon/fp_pair.h" +#include "feature/stats/geoip.h" +#include "feature/hs/hs_cache.h" +#include "feature/hs/hs_common.h" +#include "feature/hs/hs_control.h" +#include "feature/hs/hs_client.h" +#include "core/mainloop/main.h" +#include "feature/nodelist/microdesc.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/nodelist/nodelist.h" +#include "core/or/policies.h" +#include "core/or/relay.h" +#include "feature/rend/rendclient.h" +#include "feature/rend/rendcommon.h" +#include "feature/rend/rendservice.h" +#include "feature/stats/rephist.h" +#include "feature/relay/router.h" +#include "feature/nodelist/routerlist.h" +#include "feature/nodelist/routerparse.h" +#include "feature/nodelist/routerset.h" #include "lib/encoding/confline.h" #include "lib/crypt_ops/crypto_format.h" @@ -52,19 +52,19 @@ #endif #endif -#include "or/dirauth/dirvote.h" -#include "or/dirauth/mode.h" -#include "or/dirauth/shared_random.h" - -#include "or/authority_cert_st.h" -#include "or/cached_dir_st.h" -#include "or/dir_connection_st.h" -#include "or/dir_server_st.h" -#include "or/entry_connection_st.h" -#include "or/networkstatus_st.h" -#include "or/node_st.h" -#include "or/rend_service_descriptor_st.h" -#include "or/routerinfo_st.h" +#include "feature/dirauth/dirvote.h" +#include "feature/dirauth/mode.h" +#include "feature/dirauth/shared_random.h" + +#include "feature/nodelist/authority_cert_st.h" +#include "feature/dircache/cached_dir_st.h" +#include "feature/dircommon/dir_connection_st.h" +#include "feature/dirclient/dir_server_st.h" +#include "core/or/entry_connection_st.h" +#include "feature/nodelist/networkstatus_st.h" +#include "feature/nodelist/node_st.h" +#include "feature/rend/rend_service_descriptor_st.h" +#include "feature/nodelist/routerinfo_st.h" /** * \file directory.c diff --git a/src/feature/dircache/directory.h b/src/feature/dircache/directory.h index 992ff618fb..54ea0c584d 100644 --- a/src/feature/dircache/directory.h +++ b/src/feature/dircache/directory.h @@ -12,7 +12,7 @@ #ifndef TOR_DIRECTORY_H #define TOR_DIRECTORY_H -#include "or/hs_ident.h" +#include "feature/hs/hs_ident.h" enum compress_method_t; dir_connection_t *TO_DIR_CONN(connection_t *c); diff --git a/src/feature/dircache/dirserv.c b/src/feature/dircache/dirserv.c index 2980d63f0a..0e1d0645e3 100644 --- a/src/feature/dircache/dirserv.c +++ b/src/feature/dircache/dirserv.c @@ -4,47 +4,47 @@ /* See LICENSE for licensing information */ #define DIRSERV_PRIVATE -#include "or/or.h" +#include "core/or/or.h" #include "lib/container/buffers.h" -#include "or/config.h" -#include "or/confparse.h" -#include "or/channel.h" -#include "or/channeltls.h" -#include "or/command.h" -#include "or/connection.h" -#include "or/connection_or.h" -#include "or/conscache.h" -#include "or/consdiffmgr.h" -#include "or/control.h" -#include "or/directory.h" -#include "or/dirserv.h" -#include "or/hibernate.h" -#include "or/keypin.h" -#include "or/main.h" -#include "or/microdesc.h" -#include "or/networkstatus.h" -#include "or/nodelist.h" -#include "or/policies.h" -#include "or/protover.h" -#include "or/rephist.h" -#include "or/router.h" -#include "or/routerlist.h" -#include "or/routerparse.h" -#include "or/routerset.h" -#include "or/torcert.h" -#include "or/voting_schedule.h" - -#include "or/dirauth/dirvote.h" - -#include "or/cached_dir_st.h" -#include "or/dir_connection_st.h" -#include "or/extrainfo_st.h" -#include "or/microdesc_st.h" -#include "or/node_st.h" -#include "or/routerinfo_st.h" -#include "or/routerlist_st.h" -#include "or/tor_version_st.h" -#include "or/vote_routerstatus_st.h" +#include "app/config/config.h" +#include "app/config/confparse.h" +#include "core/or/channel.h" +#include "core/or/channeltls.h" +#include "core/or/command.h" +#include "core/mainloop/connection.h" +#include "core/or/connection_or.h" +#include "feature/dircache/conscache.h" +#include "feature/dircache/consdiffmgr.h" +#include "feature/control/control.h" +#include "feature/dircache/directory.h" +#include "feature/dircache/dirserv.h" +#include "feature/hibernate/hibernate.h" +#include "feature/dirauth/keypin.h" +#include "core/mainloop/main.h" +#include "feature/nodelist/microdesc.h" +#include "feature/nodelist/networkstatus.h" +#include "feature/nodelist/nodelist.h" +#include "core/or/policies.h" +#include "core/proto/protover.h" +#include "feature/stats/rephist.h" +#include "feature/relay/router.h" +#include "feature/nodelist/routerlist.h" +#include "feature/nodelist/routerparse.h" +#include "feature/nodelist/routerset.h" +#include "feature/nodelist/torcert.h" +#include "feature/dircommon/voting_schedule.h" + +#include "feature/dirauth/dirvote.h" + +#include "feature/dircache/cached_dir_st.h" +#include "feature/dircommon/dir_connection_st.h" +#include "feature/nodelist/extrainfo_st.h" +#include "feature/nodelist/microdesc_st.h" +#include "feature/nodelist/node_st.h" +#include "feature/nodelist/routerinfo_st.h" +#include "feature/nodelist/routerlist_st.h" +#include "core/or/tor_version_st.h" +#include "feature/nodelist/vote_routerstatus_st.h" #include "lib/compress/compress.h" #include "lib/container/order.h" -- cgit v1.2.3-54-g00ecf