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.
This commit is contained in:
Nick Mathewson
2016-11-15 07:49:06 -05:00
parent dd6def5daf
commit 8da24c99bd
18 changed files with 880 additions and 810 deletions
+1
View File
@@ -3,6 +3,7 @@
#define CONTROL_PRIVATE
#include "or.h"
#include "bridges.h"
#include "control.h"
#include "entrynodes.h"
#include "networkstatus.h"