aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-07 22:18:57 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-07 22:18:57 +0000
commit6649645f0978a88c8bd28a1299d7b65a8e3becf2 (patch)
tree6e724fd9eb7fc22e0b62c4e1f3eea9652d613348 /src/or/or.h
parentb1537e79436ded47784de64ec4ea5b8defa7f65d (diff)
downloadtor-6649645f0978a88c8bd28a1299d7b65a8e3becf2.tar
tor-6649645f0978a88c8bd28a1299d7b65a8e3becf2.tar.gz
Insert a *copy* of our routerinfo into the routerlist.
svn:r1538
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c99c9f492..9ecb5c030 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -998,6 +998,7 @@ routerinfo_t *router_get_by_link_pk(crypto_pk_env_t *pk);
routerinfo_t *router_get_by_nickname(char *nickname);
void router_get_routerlist(routerlist_t **prouterlist);
void routerinfo_free(routerinfo_t *router);
+routerinfo_t *routerinfo_copy(const routerinfo_t *router);
int router_version_supports_rendezvous(routerinfo_t *router);
void router_add_nonrendezvous_to_list(smartlist_t *sl);
void router_mark_as_down(char *nickname);