summaryrefslogtreecommitdiff
path: root/src/test/test_hs.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-25 12:11:59 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-25 12:11:59 -0400
commita49f506e05364eb0fd14d02e3cd482941942928e (patch)
treee48ab73919520424a82c80dc6c1faf574913e822 /src/test/test_hs.c
parentd4d541c53c209370ae33f5f6caad2ec13743a4ba (diff)
downloadtor-a49f506e05364eb0fd14d02e3cd482941942928e.tar.gz
tor-a49f506e05364eb0fd14d02e3cd482941942928e.zip
Split all controller events code into a new control_events.c
Also, split the formatting code shared by control.c and control_events.c into controller_fmt.c.
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r--src/test/test_hs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index a611b46ca6..de10a10d81 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -6,7 +6,7 @@
* \brief Unit tests for hidden service.
**/
-#define CONTROL_PRIVATE
+#define CONTROL_EVENTS_PRIVATE
#define CIRCUITBUILD_PRIVATE
#define RENDCOMMON_PRIVATE
#define RENDSERVICE_PRIVATE
@@ -15,6 +15,7 @@
#include "core/or/or.h"
#include "test/test.h"
#include "feature/control/control.h"
+#include "feature/control/control_events.h"
#include "app/config/config.h"
#include "feature/hs/hs_common.h"
#include "feature/rend/rendcommon.h"