diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-01 10:44:59 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-01 10:46:00 -0500 |
commit | 4201203845fa563a7f7410609267b96f2c319720 (patch) | |
tree | 85349852c6735b4a792280a1da469a45d3622b69 /src/feature/dirauth | |
parent | cd23903427844efb23048941af62643e5e0163cb (diff) | |
download | tor-4201203845fa563a7f7410609267b96f2c319720.tar.gz tor-4201203845fa563a7f7410609267b96f2c319720.zip |
extract networkstatus parsing to its own file.
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r-- | src/feature/dirauth/bwauth.c | 2 | ||||
-rw-r--r-- | src/feature/dirauth/dirvote.c | 33 | ||||
-rw-r--r-- | src/feature/dirauth/guardfraction.c | 2 |
3 files changed, 19 insertions, 18 deletions
diff --git a/src/feature/dirauth/bwauth.c b/src/feature/dirauth/bwauth.c index ec23f629c5..29e0c90962 100644 --- a/src/feature/dirauth/bwauth.c +++ b/src/feature/dirauth/bwauth.c @@ -15,7 +15,7 @@ #include "app/config/config.h" #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/routerlist.h" -#include "feature/dirparse/routerparse.h" +#include "feature/dirparse/ns_parse.h" #include "feature/nodelist/routerinfo_st.h" #include "feature/nodelist/vote_routerstatus_st.h" diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 0322c9cae7..80a5b54737 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -6,32 +6,33 @@ #define DIRVOTE_PRIVATE #include "core/or/or.h" #include "app/config/config.h" +#include "core/or/policies.h" +#include "core/or/protover.h" +#include "core/or/tor_version_st.h" +#include "core/or/versions.h" +#include "feature/dirauth/bwauth.h" #include "feature/dirauth/dircollate.h" #include "feature/dirauth/dsigs_parse.h" +#include "feature/dirauth/guardfraction.h" #include "feature/dirauth/recommend_pkg.h" #include "feature/dirauth/voteflags.h" -#include "feature/dircommon/directory.h" -#include "feature/dirclient/dirclient.h" -#include "feature/dirauth/bwauth.h" #include "feature/dircache/dirserv.h" -#include "feature/dirauth/guardfraction.h" +#include "feature/dirclient/dirclient.h" +#include "feature/dircommon/directory.h" +#include "feature/dirparse/microdesc_parse.h" +#include "feature/dirparse/ns_parse.h" +#include "feature/dirparse/parsecommon.h" +#include "feature/dirparse/signing.h" +#include "feature/nodelist/authcert.h" +#include "feature/nodelist/dirlist.h" +#include "feature/nodelist/fmt_routerstatus.h" #include "feature/nodelist/microdesc.h" #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/nodelist.h" -#include "feature/dirparse/parsecommon.h" -#include "core/or/policies.h" -#include "core/or/protover.h" -#include "core/or/tor_version_st.h" -#include "feature/stats/rephist.h" +#include "feature/nodelist/routerlist.h" #include "feature/relay/router.h" #include "feature/relay/routerkeys.h" -#include "feature/nodelist/authcert.h" -#include "feature/nodelist/dirlist.h" -#include "feature/nodelist/routerlist.h" -#include "feature/dirparse/routerparse.h" -#include "feature/dirparse/microdesc_parse.h" -#include "feature/dirparse/signing.h" -#include "feature/nodelist/fmt_routerstatus.h" +#include "feature/stats/rephist.h" #include "feature/client/entrynodes.h" /* needed for guardfraction methods */ #include "feature/nodelist/torcert.h" #include "feature/dircommon/voting_schedule.h" diff --git a/src/feature/dirauth/guardfraction.c b/src/feature/dirauth/guardfraction.c index 812cb7df2c..1734d0a13c 100644 --- a/src/feature/dirauth/guardfraction.c +++ b/src/feature/dirauth/guardfraction.c @@ -12,7 +12,7 @@ #include "core/or/or.h" #include "feature/dirauth/guardfraction.h" #include "feature/nodelist/networkstatus.h" -#include "feature/dirparse/routerparse.h" +#include "feature/dirparse/ns_parse.h" #include "feature/nodelist/vote_routerstatus_st.h" |