diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-03-25 12:11:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-25 12:11:59 -0400 |
commit | a49f506e05364eb0fd14d02e3cd482941942928e (patch) | |
tree | e48ab73919520424a82c80dc6c1faf574913e822 /src/test/test_pt.c | |
parent | d4d541c53c209370ae33f5f6caad2ec13743a4ba (diff) | |
download | tor-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_pt.c')
-rw-r--r-- | src/test/test_pt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_pt.c b/src/test/test_pt.c index d2996f4cc3..612006906d 100644 --- a/src/test/test_pt.c +++ b/src/test/test_pt.c @@ -7,12 +7,14 @@ #define PT_PRIVATE #define UTIL_PRIVATE #define STATEFILE_PRIVATE -#define CONTROL_PRIVATE +//#define CONTROL_PRIVATE +#define CONTROL_EVENTS_PRIVATE #define PROCESS_PRIVATE #include "core/or/or.h" #include "app/config/config.h" #include "app/config/confparse.h" #include "feature/control/control.h" +#include "feature/control/control_events.h" #include "feature/client/transports.h" #include "core/or/circuitbuild.h" #include "app/config/statefile.h" |