summaryrefslogtreecommitdiff
path: root/src/or/connection_or.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/connection_or.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/connection_or.c')
-rw-r--r--src/or/connection_or.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index eb67f0653f..ecc5a4511a 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -21,6 +21,7 @@
* This module also implements the client side of the v3 Tor link handshake,
**/
#include "or.h"
+#include "bridges.h"
#include "buffers.h"
/*
* Define this so we get channel internal functions, since we're implementing