aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-30 18:25:25 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-01 18:14:27 -0400
commitf9ea242acabcaec0ab0fbd0de5e9999dfcdb0193 (patch)
treee57665d063579cf465b6f6be48c5b699c09bd8b2 /src/or/nodelist.h
parent45f1e4d5ee7b6e2308655628d18a67d330d9b624 (diff)
downloadtor-f9ea242acabcaec0ab0fbd0de5e9999dfcdb0193.tar
tor-f9ea242acabcaec0ab0fbd0de5e9999dfcdb0193.tar.gz
Implement node-based router family code
Also, make the NodeFamily option into a list of routersets. This lets us git rid of router_in_nickname_list (or whatever it was called) without porting it to work with nodes, and also lets people specify country codes and IP ranges in NodeFamily
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index 3dceb7573..cb7836650 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -45,6 +45,7 @@ const char *node_get_platform(const node_t *node);
void node_get_address_string(const node_t *node, char *cp, size_t len);
long node_get_declared_uptime(const node_t *node);
time_t node_get_published_on(const node_t *node);
+const smartlist_t *node_get_declared_family(const node_t *node);
smartlist_t *nodelist_get_list(void);