diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-21 10:26:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-21 12:57:22 -0400 |
commit | 194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc (patch) | |
tree | b4438cb70d5029db0a7b00fb8865a068737a1cb8 /src/test/test_dir.c | |
parent | 0e4c42a912d020888e811b748925362e1b3dc67b (diff) | |
download | tor-194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc.tar.gz tor-194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc.zip |
Split directory.c code into several modules
Parts of this C file naturally belong in dircache, dirclient, and
dircommon: so, move them there.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index b2c3f4426c..686b039492 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -9,8 +9,11 @@ #define BWAUTH_PRIVATE #define CONFIG_PRIVATE #define CONTROL_PRIVATE +#define DIRCACHE_PRIVATE +#define DIRCLIENT_PRIVATE #define DIRSERV_PRIVATE #define DIRVOTE_PRIVATE +#define DLSTATUS_PRIVATE #define HIBERNATE_PRIVATE #define NETWORKSTATUS_PRIVATE #define NODE_SELECT_PRIVATE @@ -30,8 +33,11 @@ #include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_format.h" #include "lib/crypt_ops/crypto_rand.h" -#include "feature/dircache/directory.h" +#include "feature/dircommon/directory.h" +#include "feature/dirclient/dirclient.h" +#include "feature/dirclient/dlstatus.h" #include "feature/dirauth/bwauth.h" +#include "feature/dircache/dircache.h" #include "feature/dircache/dirserv.h" #include "feature/dirauth/process_descs.h" #include "feature/dirauth/dirvote.h" |