Move routerparse and parsecommon to their own module.

This commit is contained in:
Nick Mathewson 2018-09-30 17:53:58 -05:00
parent b058f64cc0
commit 6785aa4010
51 changed files with 60 additions and 59 deletions

View File

@ -45,6 +45,7 @@
#include "feature/dirauth/process_descs.h" #include "feature/dirauth/process_descs.h"
#include "feature/dircache/consdiffmgr.h" #include "feature/dircache/consdiffmgr.h"
#include "feature/dircache/dirserv.h" #include "feature/dircache/dirserv.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hibernate/hibernate.h" #include "feature/hibernate/hibernate.h"
#include "feature/hs/hs_cache.h" #include "feature/hs/hs_cache.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
@ -52,7 +53,6 @@
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/relay/dns.h" #include "feature/relay/dns.h"
#include "feature/relay/ext_orport.h" #include "feature/relay/ext_orport.h"
#include "feature/relay/onion_queue.h" #include "feature/relay/onion_queue.h"
@ -61,7 +61,6 @@
#include "feature/rend/rendcache.h" #include "feature/rend/rendcache.h"
#include "feature/rend/rendclient.h" #include "feature/rend/rendclient.h"
#include "feature/rend/rendservice.h" #include "feature/rend/rendservice.h"
#include "lib/geoip/geoip.h"
#include "feature/stats/geoip_stats.h" #include "feature/stats/geoip_stats.h"
#include "feature/stats/predict_ports.h" #include "feature/stats/predict_ports.h"
#include "feature/stats/rephist.h" #include "feature/stats/rephist.h"
@ -70,6 +69,8 @@
#include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_rand.h"
#include "lib/crypt_ops/crypto_s2k.h" #include "lib/crypt_ops/crypto_s2k.h"
#include "lib/err/backtrace.h" #include "lib/err/backtrace.h"
#include "lib/geoip/geoip.h"
#include "lib/process/waitpid.h" #include "lib/process/waitpid.h"
#include "lib/meminfo/meminfo.h" #include "lib/meminfo/meminfo.h"

View File

@ -72,6 +72,8 @@ LIBTOR_APP_A_SOURCES = \
src/feature/dircommon/directory.c \ src/feature/dircommon/directory.c \
src/feature/dircommon/fp_pair.c \ src/feature/dircommon/fp_pair.c \
src/feature/dircommon/voting_schedule.c \ src/feature/dircommon/voting_schedule.c \
src/feature/dirparse/parsecommon.c \
src/feature/dirparse/routerparse.c \
src/feature/hibernate/hibernate.c \ src/feature/hibernate/hibernate.c \
src/feature/hs/hs_cache.c \ src/feature/hs/hs_cache.c \
src/feature/hs/hs_cell.c \ src/feature/hs/hs_cell.c \
@ -98,10 +100,8 @@ LIBTOR_APP_A_SOURCES = \
src/feature/nodelist/nickname.c \ src/feature/nodelist/nickname.c \
src/feature/nodelist/nodelist.c \ src/feature/nodelist/nodelist.c \
src/feature/nodelist/node_select.c \ src/feature/nodelist/node_select.c \
src/feature/nodelist/parsecommon.c \
src/feature/nodelist/routerinfo.c \ src/feature/nodelist/routerinfo.c \
src/feature/nodelist/routerlist.c \ src/feature/nodelist/routerlist.c \
src/feature/nodelist/routerparse.c \
src/feature/nodelist/routerset.c \ src/feature/nodelist/routerset.c \
src/feature/nodelist/fmt_routerstatus.c \ src/feature/nodelist/fmt_routerstatus.c \
src/feature/nodelist/torcert.c \ src/feature/nodelist/torcert.c \
@ -285,6 +285,8 @@ noinst_HEADERS += \
src/feature/dircommon/fp_pair.h \ src/feature/dircommon/fp_pair.h \
src/feature/dircommon/vote_timing_st.h \ src/feature/dircommon/vote_timing_st.h \
src/feature/dircommon/voting_schedule.h \ src/feature/dircommon/voting_schedule.h \
src/feature/dirparse/parsecommon.h \
src/feature/dirparse/routerparse.h \
src/feature/hibernate/hibernate.h \ src/feature/hibernate/hibernate.h \
src/feature/hs/hs_cache.h \ src/feature/hs/hs_cache.h \
src/feature/hs/hs_cell.h \ src/feature/hs/hs_cell.h \
@ -320,12 +322,10 @@ noinst_HEADERS += \
src/feature/nodelist/node_st.h \ src/feature/nodelist/node_st.h \
src/feature/nodelist/nodelist.h \ src/feature/nodelist/nodelist.h \
src/feature/nodelist/node_select.h \ src/feature/nodelist/node_select.h \
src/feature/nodelist/parsecommon.h \
src/feature/nodelist/routerinfo.h \ src/feature/nodelist/routerinfo.h \
src/feature/nodelist/routerinfo_st.h \ src/feature/nodelist/routerinfo_st.h \
src/feature/nodelist/routerlist.h \ src/feature/nodelist/routerlist.h \
src/feature/nodelist/routerlist_st.h \ src/feature/nodelist/routerlist_st.h \
src/feature/nodelist/routerparse.h \
src/feature/nodelist/routerset.h \ src/feature/nodelist/routerset.h \
src/feature/nodelist/fmt_routerstatus.h \ src/feature/nodelist/fmt_routerstatus.h \
src/feature/nodelist/routerstatus_st.h \ src/feature/nodelist/routerstatus_st.h \

View File

@ -91,20 +91,20 @@
#include "feature/dirauth/authmode.h" #include "feature/dirauth/authmode.h"
#include "feature/dircache/dirserv.h" #include "feature/dircache/dirserv.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hibernate/hibernate.h" #include "feature/hibernate/hibernate.h"
#include "feature/hs/hs_common.h" #include "feature/hs/hs_common.h"
#include "feature/hs/hs_ident.h" #include "feature/hs/hs_ident.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/relay/dns.h" #include "feature/relay/dns.h"
#include "feature/relay/ext_orport.h" #include "feature/relay/ext_orport.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"
#include "feature/rend/rendclient.h" #include "feature/rend/rendclient.h"
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"
#include "lib/geoip/geoip.h"
#include "feature/stats/rephist.h" #include "feature/stats/rephist.h"
#include "lib/crypt_ops/crypto_util.h" #include "lib/crypt_ops/crypto_util.h"
#include "lib/geoip/geoip.h"
#include "lib/sandbox/sandbox.h" #include "lib/sandbox/sandbox.h"
#include "lib/net/buffers_net.h" #include "lib/net/buffers_net.h"

View File

@ -61,7 +61,7 @@
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"

View File

@ -20,13 +20,13 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/client/bridges.h" #include "feature/client/bridges.h"
#include "app/config/config.h" #include "app/config/config.h"
#include "core/or/policies.h"
#include "feature/dirparse/routerparse.h"
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "core/or/policies.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"
#include "feature/nodelist/routerparse.h"
#include "lib/geoip/geoip.h" #include "lib/geoip/geoip.h"
#include "ht.h" #include "ht.h"
#include "lib/encoding/confline.h" #include "lib/encoding/confline.h"

View File

@ -25,7 +25,7 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "core/or/protover.h" #include "core/or/protover.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "lib/tls/tortls.h" #include "lib/tls/tortls.h"
#ifndef HAVE_RUST #ifndef HAVE_RUST

View File

@ -79,7 +79,7 @@
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"
#include "feature/nodelist/describe.h" #include "feature/nodelist/describe.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "core/or/scheduler.h" #include "core/or/scheduler.h"
#include "feature/stats/rephist.h" #include "feature/stats/rephist.h"

View File

@ -130,13 +130,13 @@
#include "feature/client/transports.h" #include "feature/client/transports.h"
#include "feature/control/control.h" #include "feature/control/control.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dirparse/routerparse.h"
#include "feature/nodelist/describe.h" #include "feature/nodelist/describe.h"
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/node_select.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerparse.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_rand.h"

View File

@ -65,6 +65,7 @@
#include "feature/dirclient/dirclient.h" #include "feature/dirclient/dirclient.h"
#include "feature/dirclient/dlstatus.h" #include "feature/dirclient/dlstatus.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hibernate/hibernate.h" #include "feature/hibernate/hibernate.h"
#include "feature/hs/hs_cache.h" #include "feature/hs/hs_cache.h"
#include "feature/hs/hs_common.h" #include "feature/hs/hs_common.h"
@ -77,7 +78,6 @@
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerinfo.h" #include "feature/nodelist/routerinfo.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"
#include "feature/relay/selftest.h" #include "feature/relay/selftest.h"

View File

@ -15,7 +15,7 @@
#include "app/config/config.h" #include "app/config/config.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerinfo_st.h" #include "feature/nodelist/routerinfo_st.h"
#include "feature/nodelist/vote_routerstatus_st.h" #include "feature/nodelist/vote_routerstatus_st.h"

View File

@ -17,7 +17,7 @@
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/parsecommon.h" #include "feature/dirparse/parsecommon.h"
#include "core/or/policies.h" #include "core/or/policies.h"
#include "core/or/protover.h" #include "core/or/protover.h"
#include "core/or/tor_version_st.h" #include "core/or/tor_version_st.h"
@ -27,7 +27,7 @@
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
#include "feature/nodelist/dirlist.h" #include "feature/nodelist/dirlist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/fmt_routerstatus.h" #include "feature/nodelist/fmt_routerstatus.h"
#include "feature/client/entrynodes.h" /* needed for guardfraction methods */ #include "feature/client/entrynodes.h" /* needed for guardfraction methods */
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"

View File

@ -12,7 +12,7 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/dirauth/guardfraction.h" #include "feature/dirauth/guardfraction.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/vote_routerstatus_st.h" #include "feature/nodelist/vote_routerstatus_st.h"

View File

@ -26,7 +26,7 @@
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerinfo.h" #include "feature/nodelist/routerinfo.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"

View File

@ -20,7 +20,7 @@
#include "feature/dircache/consdiffmgr.h" #include "feature/dircache/consdiffmgr.h"
#include "core/mainloop/cpuworker.h" #include "core/mainloop/cpuworker.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "lib/evloop/compat_libevent.h" #include "lib/evloop/compat_libevent.h"
#include "lib/evloop/workqueue.h" #include "lib/evloop/workqueue.h"
#include "lib/compress/compress.h" #include "lib/compress/compress.h"

View File

@ -41,7 +41,7 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/dircommon/consdiff.h" #include "feature/dircommon/consdiff.h"
#include "lib/memarea/memarea.h" #include "lib/memarea/memarea.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
static const char* ns_diff_version = "network-status-diff-version 1"; static const char* ns_diff_version = "network-status-diff-version 1";
static const char* hash_token = "hash"; static const char* hash_token = "hash";

View File

@ -6,7 +6,7 @@
* \brief Common code to parse and validate various type of descriptors. * \brief Common code to parse and validate various type of descriptors.
**/ **/
#include "feature/nodelist/parsecommon.h" #include "feature/dirparse/parsecommon.h"
#include "lib/log/log.h" #include "lib/log/log.h"
#include "lib/log/util_bug.h" #include "lib/log/util_bug.h"
#include "lib/encoding/binascii.h" #include "lib/encoding/binascii.h"

View File

@ -63,16 +63,16 @@
#include "feature/client/entrynodes.h" #include "feature/client/entrynodes.h"
#include "feature/dirauth/shared_random.h" #include "feature/dirauth/shared_random.h"
#include "feature/dircommon/voting_schedule.h" #include "feature/dircommon/voting_schedule.h"
#include "feature/dirparse/parsecommon.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hs_common/shared_random_client.h" #include "feature/hs_common/shared_random_client.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
#include "feature/nodelist/describe.h" #include "feature/nodelist/describe.h"
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/parsecommon.h"
#include "feature/nodelist/routerinfo.h" #include "feature/nodelist/routerinfo.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/relay/routerkeys.h" #include "feature/relay/routerkeys.h"

View File

@ -61,7 +61,7 @@
#include "core/or/circuitbuild.h" #include "core/or/circuitbuild.h"
#include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_rand.h"
#include "lib/crypt_ops/crypto_util.h" #include "lib/crypt_ops/crypto_util.h"
#include "feature/nodelist/parsecommon.h" #include "feature/dirparse/parsecommon.h"
#include "feature/rend/rendcache.h" #include "feature/rend/rendcache.h"
#include "feature/hs/hs_cache.h" #include "feature/hs/hs_cache.h"
#include "feature/hs/hs_config.h" #include "feature/hs/hs_config.h"

View File

@ -24,17 +24,17 @@
#include "core/or/policies.h" #include "core/or/policies.h"
#include "feature/client/bridges.h" #include "feature/client/bridges.h"
#include "feature/dirauth/authmode.h" #include "feature/dirauth/authmode.h"
#include "feature/dircommon/directory.h"
#include "feature/dirclient/dirclient.h" #include "feature/dirclient/dirclient.h"
#include "feature/dirclient/dlstatus.h" #include "feature/dirclient/dlstatus.h"
#include "feature/dircommon/directory.h"
#include "feature/dircommon/fp_pair.h" #include "feature/dircommon/fp_pair.h"
#include "feature/dirparse/routerparse.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
#include "feature/nodelist/dirlist.h" #include "feature/nodelist/dirlist.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"
#include "core/or/connection_st.h" #include "core/or/connection_st.h"

View File

@ -25,7 +25,7 @@
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/nodelist/dirlist.h" #include "feature/nodelist/dirlist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/microdesc_st.h" #include "feature/nodelist/microdesc_st.h"
#include "feature/nodelist/networkstatus_st.h" #include "feature/nodelist/networkstatus_st.h"

View File

@ -64,6 +64,7 @@
#include "feature/dirclient/dlstatus.h" #include "feature/dirclient/dlstatus.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dircommon/voting_schedule.h" #include "feature/dircommon/voting_schedule.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hibernate/hibernate.h" #include "feature/hibernate/hibernate.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
#include "feature/nodelist/dirlist.h" #include "feature/nodelist/dirlist.h"
@ -74,7 +75,6 @@
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerinfo.h" #include "feature/nodelist/routerinfo.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"
#include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_rand.h"

View File

@ -61,7 +61,7 @@
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/rend/rendservice.h" #include "feature/rend/rendservice.h"

View File

@ -84,7 +84,7 @@
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerinfo.h" #include "feature/nodelist/routerinfo.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/routermode.h" #include "feature/relay/routermode.h"

View File

@ -30,9 +30,9 @@ n * Copyright (c) 2001-2004, Roger Dingledine.
#include "core/or/or.h" #include "core/or/or.h"
#include "core/or/policies.h" #include "core/or/policies.h"
#include "feature/client/bridges.h" #include "feature/client/bridges.h"
#include "feature/dirparse/routerparse.h"
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "lib/geoip/geoip.h" #include "lib/geoip/geoip.h"

View File

@ -21,6 +21,7 @@
#include "feature/dircache/dirserv.h" #include "feature/dircache/dirserv.h"
#include "feature/dirclient/dirclient.h" #include "feature/dirclient/dirclient.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hibernate/hibernate.h" #include "feature/hibernate/hibernate.h"
#include "feature/keymgt/loadkey.h" #include "feature/keymgt/loadkey.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
@ -29,7 +30,6 @@
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/dns.h" #include "feature/relay/dns.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"

View File

@ -12,7 +12,7 @@
#include "app/config/config.h" #include "app/config/config.h"
#include "feature/stats/rephist.h" #include "feature/stats/rephist.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"
#include "core/or/extend_info_st.h" #include "core/or/extend_info_st.h"

View File

@ -30,7 +30,7 @@
#include "feature/hs_common/replaycache.h" #include "feature/hs_common/replaycache.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "core/or/cpath_build_state_st.h" #include "core/or/cpath_build_state_st.h"
#include "core/or/crypt_path_st.h" #include "core/or/crypt_path_st.h"

View File

@ -22,6 +22,7 @@
#include "feature/control/control.h" #include "feature/control/control.h"
#include "feature/dirclient/dirclient.h" #include "feature/dirclient/dirclient.h"
#include "feature/dircommon/directory.h" #include "feature/dircommon/directory.h"
#include "feature/dirparse/routerparse.h"
#include "feature/hs/hs_common.h" #include "feature/hs/hs_common.h"
#include "feature/hs/hs_config.h" #include "feature/hs/hs_config.h"
#include "feature/hs_common/replaycache.h" #include "feature/hs_common/replaycache.h"
@ -31,7 +32,6 @@
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/rend/rendclient.h" #include "feature/rend/rendclient.h"
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_ed25519.h"
#include "feature/nodelist/networkstatus_st.h" #include "feature/nodelist/networkstatus_st.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/keymgt/loadkey.h" #include "feature/keymgt/loadkey.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/relay/routerkeys.h" #include "feature/relay/routerkeys.h"
#include "test/fuzz/fuzzing.h" #include "test/fuzz/fuzzing.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"
#include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_ed25519.h"
#include "test/fuzz/fuzzing.h" #include "test/fuzz/fuzzing.h"

View File

@ -8,7 +8,7 @@
#include "trunnel/ed25519_cert.h" /* Trunnel interface. */ #include "trunnel/ed25519_cert.h" /* Trunnel interface. */
#include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_ed25519.h"
#include "feature/hs/hs_descriptor.h" #include "feature/hs/hs_descriptor.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "test/fuzz/fuzzing.h" #include "test/fuzz/fuzzing.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/rend/rendcommon.h" #include "feature/rend/rendcommon.h"
#include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_ed25519.h"

View File

@ -2,7 +2,7 @@
/* See LICENSE for licensing information */ /* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_ed25519.h"

View File

@ -3,7 +3,7 @@
#define ROUTERPARSE_PRIVATE #define ROUTERPARSE_PRIVATE
#define NETWORKSTATUS_PRIVATE #define NETWORKSTATUS_PRIVATE
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "lib/memarea/memarea.h" #include "lib/memarea/memarea.h"
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"

View File

@ -54,7 +54,7 @@
#include "core/crypto/onion_tap.h" #include "core/crypto/onion_tap.h"
#include "core/or/policies.h" #include "core/or/policies.h"
#include "feature/stats/rephist.h" #include "feature/stats/rephist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "app/config/statefile.h" #include "app/config/statefile.h"
#include "lib/crypt_ops/crypto_curve25519.h" #include "lib/crypt_ops/crypto_curve25519.h"

View File

@ -11,7 +11,7 @@
#include "core/mainloop/cpuworker.h" #include "core/mainloop/cpuworker.h"
#include "lib/crypt_ops/crypto_rand.h" #include "lib/crypt_ops/crypto_rand.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "lib/evloop/workqueue.h" #include "lib/evloop/workqueue.h"
#include "lib/compress/compress.h" #include "lib/compress/compress.h"
#include "lib/encoding/confline.h" #include "lib/encoding/confline.h"

View File

@ -51,7 +51,7 @@
#include "feature/nodelist/nickname.h" #include "feature/nodelist/nickname.h"
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"

View File

@ -5,7 +5,7 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#define TEST_DIR_ROUTER_ID_1 3 #define TEST_DIR_ROUTER_ID_1 3
#define TEST_DIR_ROUTER_ID_2 5 #define TEST_DIR_ROUTER_ID_2 5

View File

@ -29,7 +29,7 @@
#include "test/test_helpers.h" #include "test/test_helpers.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "feature/client/entrynodes.h" #include "feature/client/entrynodes.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "core/proto/proto_http.h" #include "core/proto/proto_http.h"
#include "lib/geoip/geoip.h" #include "lib/geoip/geoip.h"

View File

@ -26,7 +26,7 @@
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "core/or/policies.h" #include "core/or/policies.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "app/config/statefile.h" #include "app/config/statefile.h"

View File

@ -10,7 +10,7 @@
#include "app/config/config.h" #include "app/config/config.h"
#include "feature/dirauth/guardfraction.h" #include "feature/dirauth/guardfraction.h"
#include "feature/client/entrynodes.h" #include "feature/client/entrynodes.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/networkstatus_st.h" #include "feature/nodelist/networkstatus_st.h"

View File

@ -43,7 +43,7 @@
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"
#include "core/or/relay.h" #include "core/or/relay.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/hs/hs_common.h" #include "feature/hs/hs_common.h"
#include "feature/hs/hs_config.h" #include "feature/hs/hs_config.h"
#include "feature/hs/hs_ident.h" #include "feature/hs/hs_ident.h"

View File

@ -10,7 +10,7 @@
#include "feature/nodelist/microdesc.h" #include "feature/nodelist/microdesc.h"
#include "feature/nodelist/networkstatus.h" #include "feature/nodelist/networkstatus.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/nodelist/torcert.h" #include "feature/nodelist/torcert.h"
#include "feature/nodelist/microdesc_st.h" #include "feature/nodelist/microdesc_st.h"

View File

@ -5,7 +5,7 @@
#define CONFIG_PRIVATE #define CONFIG_PRIVATE
#include "app/config/config.h" #include "app/config/config.h"
#include "feature/relay/router.h" #include "feature/relay/router.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#define POLICIES_PRIVATE #define POLICIES_PRIVATE
#include "core/or/policies.h" #include "core/or/policies.h"
#include "lib/encoding/confline.h" #include "lib/encoding/confline.h"

View File

@ -33,7 +33,7 @@
#include "feature/nodelist/node_select.h" #include "feature/nodelist/node_select.h"
#include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerlist.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/dirauth/shared_random.h" #include "feature/dirauth/shared_random.h"
#include "app/config/statefile.h" #include "app/config/statefile.h"

View File

@ -6,7 +6,7 @@
#include "core/or/or.h" #include "core/or/or.h"
#include "lib/geoip/geoip.h" #include "lib/geoip/geoip.h"
#include "feature/nodelist/routerset.h" #include "feature/nodelist/routerset.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "core/or/policies.h" #include "core/or/policies.h"
#include "feature/nodelist/nodelist.h" #include "feature/nodelist/nodelist.h"

View File

@ -19,7 +19,7 @@
#include "feature/relay/routerkeys.h" #include "feature/relay/routerkeys.h"
#include "feature/nodelist/authcert.h" #include "feature/nodelist/authcert.h"
#include "feature/nodelist/dirlist.h" #include "feature/nodelist/dirlist.h"
#include "feature/nodelist/routerparse.h" #include "feature/dirparse/routerparse.h"
#include "feature/hs_common/shared_random_client.h" #include "feature/hs_common/shared_random_client.h"
#include "feature/dircommon/voting_schedule.h" #include "feature/dircommon/voting_schedule.h"