summaryrefslogtreecommitdiff
path: root/src/or/nodelist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-07-17 20:00:19 -0400
committerNick Mathewson <nickm@torproject.org>2012-07-19 17:51:15 -0400
commit6208106c18c696756fe2be8f941992e31aa66a8d (patch)
treed3e964d00954bc8349fea9b0dbb4f6f21e810b0e /src/or/nodelist.h
parentdee4f068ee8be3d424aaa300168564f4abd18a36 (diff)
downloadtor-6208106c18c696756fe2be8f941992e31aa66a8d.tar.gz
tor-6208106c18c696756fe2be8f941992e31aa66a8d.zip
Try to re-approximate the older semantics of nodelist_add_routerinfo
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r--src/or/nodelist.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h
index b110fe52f7..6c1d541483 100644
--- a/src/or/nodelist.h
+++ b/src/or/nodelist.h
@@ -15,8 +15,7 @@
node_t *node_get_mutable_by_id(const char *identity_digest);
const node_t *node_get_by_id(const char *identity_digest);
const node_t *node_get_by_hex_id(const char *identity_digest);
-node_t *nodelist_replace_routerinfo(routerinfo_t *old, routerinfo_t *new);
-node_t *nodelist_add_routerinfo(node_t *node, routerinfo_t *ri);
+node_t *nodelist_set_routerinfo(routerinfo_t *ri, routerinfo_t **ri_old_out);
node_t *nodelist_add_microdesc(microdesc_t *md);
void nodelist_set_consensus(networkstatus_t *ns);