summaryrefslogtreecommitdiff
path: root/src/test/test_controller.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-15 07:49:06 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:52 -0500
commit8da24c99bdb90b04a05d5bccf5bcff1218174b75 (patch)
tree0c6accc0fbdca342fe336d8e10c10206b09f24a1 /src/test/test_controller.c
parentdd6def5daf5b0b579a61c9e83cfa905b333f99a1 (diff)
downloadtor-8da24c99bdb90b04a05d5bccf5bcff1218174b75.tar.gz
tor-8da24c99bdb90b04a05d5bccf5bcff1218174b75.zip
Split bridge functions into a new module.
This patch is just: * Code movement * Adding headers here and there as needed * Adding a bridges_free_all() with a call to it. It breaks compilation, since the bridge code needed to make exactly 2 calls into entrynodes.c internals. I'll fix those in the next commit.
Diffstat (limited to 'src/test/test_controller.c')
-rw-r--r--src/test/test_controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index f19c846144..4e65d76662 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -3,6 +3,7 @@
#define CONTROL_PRIVATE
#include "or.h"
+#include "bridges.h"
#include "control.h"
#include "entrynodes.h"
#include "networkstatus.h"