Have multiple guard contexts we can switch between.
commit404e9e5611eff39866c2e45133a60b40d7492f7e
authorNick Mathewson <nickm@torproject.org>
Mon, 28 Nov 2016 12:41:45 +0000 (28 07:41 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 16 Dec 2016 16:06:18 +0000 (16 11:06 -0500)
tree9a554a28f85cf4ddf06a70cd12e47fe896e65b6c
parent08d3ca2e5657a759d10064a2acb62b0a47bc15ff
Have multiple guard contexts we can switch between.

Currently, this code doesn't actually have the contexts behave
differently, (except for the legacy context), but it does switch
back and forth between them nicely.
src/or/config.c
src/or/entrynodes.c
src/or/entrynodes.h
src/or/main.c
src/test/test_entrynodes.c