summaryrefslogtreecommitdiff
path: root/src/or/directory.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/or/directory.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/or/directory.c')
-rw-r--r--src/or/directory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 65ddd7d583..efa5a3126a 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -7,6 +7,7 @@
#include "or.h"
#include "backtrace.h"
+#include "bridges.h"
#include "buffers.h"
#include "circuitbuild.h"
#include "config.h"