aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_controller.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-25 14:03:49 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-25 14:06:56 -0400
commit2917ecaa970c8fabcc0e9875b1e87c0d279ab1b3 (patch)
tree48f58753adae02b1e1c8957b48d5c143e87377a5 /src/test/test_controller.c
parent4754e9058b7521967dd92092e54483cec456bb2f (diff)
downloadtor-2917ecaa970c8fabcc0e9875b1e87c0d279ab1b3.tar.gz
tor-2917ecaa970c8fabcc0e9875b1e87c0d279ab1b3.zip
Split command-handling and authentication from control.c
Diffstat (limited to 'src/test/test_controller.c')
-rw-r--r--src/test/test_controller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index 82922d2028..f3af6d2ec0 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -1,12 +1,13 @@
/* Copyright (c) 2015-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */
-#define CONTROL_PRIVATE
+#define CONTROL_CMD_PRIVATE
#define CONTROL_GETINFO_PRIVATE
#include "core/or/or.h"
#include "lib/crypt_ops/crypto_ed25519.h"
#include "feature/client/bridges.h"
#include "feature/control/control.h"
+#include "feature/control/control_cmd.h"
#include "feature/control/control_getinfo.h"
#include "feature/client/entrynodes.h"
#include "feature/hs/hs_common.h"