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_handle_get.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_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 2cfed16b51..f05b0fc79f 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -8,12 +8,14 @@ #define CONNECTION_PRIVATE #define CONFIG_PRIVATE #define RENDCACHE_PRIVATE +#define DIRCACHE_PRIVATE #include "core/or/or.h" #include "app/config/config.h" #include "core/mainloop/connection.h" #include "feature/dircache/consdiffmgr.h" -#include "feature/dircache/directory.h" +#include "feature/dircommon/directory.h" +#include "feature/dircache/dircache.h" #include "test/test.h" #include "lib/compress/compress.h" #include "feature/rend/rendcommon.h" |