aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-03 19:43:47 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-26 23:54:17 -0400
commit80adb3de507db4cd67208396e1ea301f131c1228 (patch)
treef2ada6125e306bfdf4baea7ea8f373043fd162b8 /src/or/routerlist.h
parent128582cc1f9fd363f3fb2a96b61fde1701a56970 (diff)
downloadtor-80adb3de507db4cd67208396e1ea301f131c1228.tar
tor-80adb3de507db4cd67208396e1ea301f131c1228.tar.gz
When there is a transition in permitted nodes, apply it to trackexithosts map
IOW, if we were using TrackExitHosts, and we added an excluded node or removed a node from exitnodes, we wouldn't actually remove the mapping that points us at the new node. Also, note with an XXX022 comment a place that I think we are looking at the wrong string.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 3bbdc42eb..fec18705b 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -167,6 +167,7 @@ int routerset_parse(routerset_t *target, const char *s,
void routerset_union(routerset_t *target, const routerset_t *source);
int routerset_is_list(const routerset_t *set);
int routerset_needs_geoip(const routerset_t *set);
+int routerset_is_empty(const routerset_t *set);
int routerset_contains_router(const routerset_t *set, routerinfo_t *ri);
int routerset_contains_routerstatus(const routerset_t *set,
routerstatus_t *rs);