diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-15 07:49:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 8da24c99bdb90b04a05d5bccf5bcff1218174b75 (patch) | |
tree | 0c6accc0fbdca342fe336d8e10c10206b09f24a1 /src/or/main.c | |
parent | dd6def5daf5b0b579a61c9e83cfa905b333f99a1 (diff) | |
download | tor-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/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index c10f62724a..a508003f97 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -50,6 +50,7 @@ #include "or.h" #include "addressmap.h" #include "backtrace.h" +#include "bridges.h" #include "buffers.h" #include "channel.h" #include "channeltls.h" @@ -3114,6 +3115,7 @@ tor_free_all(int postfork) control_free_all(); sandbox_free_getaddrinfo_cache(); protover_free_all(); + bridges_free_all(); if (!postfork) { config_free_all(); or_state_free_all(); |