aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-01 10:44:59 -0500
committerNick Mathewson <nickm@torproject.org>2018-10-01 10:46:00 -0500
commit4201203845fa563a7f7410609267b96f2c319720 (patch)
tree85349852c6735b4a792280a1da469a45d3622b69 /src/test/test_dir.c
parentcd23903427844efb23048941af62643e5e0163cb (diff)
downloadtor-4201203845fa563a7f7410609267b96f2c319720.tar.gz
tor-4201203845fa563a7f7410609267b96f2c319720.zip
extract networkstatus parsing to its own file.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 59464022b4..3b5d6dc3d6 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -16,6 +16,7 @@
#define DLSTATUS_PRIVATE
#define HIBERNATE_PRIVATE
#define NETWORKSTATUS_PRIVATE
+#define NS_PARSE_PRIVATE
#define NODE_SELECT_PRIVATE
#define RELAY_PRIVATE
#define ROUTERLIST_PRIVATE
@@ -54,6 +55,7 @@
#include "feature/nodelist/node_select.h"
#include "feature/nodelist/routerlist.h"
#include "feature/dirparse/authcert_parse.h"
+#include "feature/dirparse/ns_parse.h"
#include "feature/dirparse/routerparse.h"
#include "feature/dirparse/unparseable.h"
#include "feature/nodelist/routerset.h"