diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-14 11:41:37 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 22f2f13f81407cffd46d5b17eca4bcead347fe58 (patch) | |
tree | 75f66d34b6951af5e1e6f0cf89a51475ef649cd2 /src/or/circpathbias.c | |
parent | 4614f8e6816d559f8fbe9ae0f42d751d3fb95c77 (diff) | |
download | tor-22f2f13f81407cffd46d5b17eca4bcead347fe58.tar.gz tor-22f2f13f81407cffd46d5b17eca4bcead347fe58.zip |
prop271: make entry_guard_t mostly-private
The entry_guard_t structure should really be opaque, so that we
can change its contents and have the rest of Tor not care.
This commit makes it "mostly opaque" -- circpathbias.c can still see
inside it. (I'm making circpathbias.c exempt since it's the only
part of Tor outside of entrynodes.c that made serious use of
entry_guard_t internals.)
Diffstat (limited to 'src/or/circpathbias.c')
-rw-r--r-- | src/or/circpathbias.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c index 6ee69aac1e..2968607f1b 100644 --- a/src/or/circpathbias.c +++ b/src/or/circpathbias.c @@ -21,6 +21,9 @@ * each guard, and stored persistently in the state file. */ +/* XXXX prop271 I would like to remove this. */ +#define ENTRYNODES_EXPOSE_STRUCT + #include "or.h" #include "channel.h" #include "circpathbias.h" |