aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_controller_events.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_controller_events.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_controller_events.c')
-rw-r--r--src/test/test_controller_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_controller_events.c b/src/test/test_controller_events.c
index 647eac43c7..910aacace3 100644
--- a/src/test/test_controller_events.c
+++ b/src/test/test_controller_events.c
@@ -4,6 +4,7 @@
#define CONNECTION_PRIVATE
#define TOR_CHANNEL_INTERNAL_
#define CONTROL_PRIVATE
+#define CONTROL_EVENTS_PRIVATE
#define OCIRC_EVENT_PRIVATE
#define ORCONN_EVENT_PRIVATE
#include "core/or/or.h"
@@ -13,7 +14,7 @@
#include "core/or/ocirc_event.h"
#include "core/or/orconn_event.h"
#include "core/mainloop/connection.h"
-#include "feature/control/control.h"
+#include "feature/control/control_events.h"
#include "test/test.h"
#include "core/or/or_circuit_st.h"