diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-19 14:10:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-19 17:08:57 -0400 |
commit | 08e3b88f0774fedb41a6b1c170a710dd12a7cb90 (patch) | |
tree | 856a7f9ce528021c1d0c9d09b631d09aeec2356c /src/feature/dircache | |
parent | 119159677be14351ebcae647d3988f4f2fd9eb72 (diff) | |
download | tor-08e3b88f0774fedb41a6b1c170a710dd12a7cb90.tar.gz tor-08e3b88f0774fedb41a6b1c170a710dd12a7cb90.zip |
Split routerlist.c into 4 separate modules
There are now separate modules for:
* the list of router descriptors
* the list of authorities and fallbacks
* managing authority certificates
* selecting random nodes
Diffstat (limited to 'src/feature/dircache')
-rw-r--r-- | src/feature/dircache/directory.c | 4 | ||||
-rw-r--r-- | src/feature/dircache/dirserv.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/dircache/directory.c b/src/feature/dircache/directory.c index b94c5317af..8628a35c57 100644 --- a/src/feature/dircache/directory.c +++ b/src/feature/dircache/directory.c @@ -40,7 +40,11 @@ #include "feature/rend/rendservice.h" #include "feature/stats/rephist.h" #include "feature/relay/router.h" +#include "feature/nodelist/authcert.h" +#include "feature/nodelist/dirlist.h" +#include "feature/nodelist/node_select.h" #include "feature/nodelist/routerlist.h" + #include "feature/nodelist/routerparse.h" #include "feature/nodelist/routerset.h" #include "lib/encoding/confline.h" diff --git a/src/feature/dircache/dirserv.c b/src/feature/dircache/dirserv.c index b85db8324f..b3cd83e21d 100644 --- a/src/feature/dircache/dirserv.c +++ b/src/feature/dircache/dirserv.c @@ -28,7 +28,9 @@ #include "core/or/protover.h" #include "feature/stats/rephist.h" #include "feature/relay/router.h" +#include "feature/nodelist/dirlist.h" #include "feature/nodelist/routerlist.h" + #include "feature/nodelist/routerparse.h" #include "feature/nodelist/routerset.h" #include "feature/nodelist/torcert.h" |