summaryrefslogtreecommitdiff
path: root/src/or/router.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-22 12:17:23 -0500
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:04:56 -0400
commitfd93622cc897ede9c52205390bfb71e2e8588259 (patch)
tree7f65e88b42952611c42bfec5a3eec73a79a0121c /src/or/router.h
parent1186628fa93386a9051f4d076f2d97ec9c5dee51 (diff)
downloadtor-fd93622cc897ede9c52205390bfb71e2e8588259.tar.gz
tor-fd93622cc897ede9c52205390bfb71e2e8588259.zip
Use chunks, not buffers, for router descriptors
Diffstat (limited to 'src/or/router.h')
-rw-r--r--src/or/router.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.h b/src/or/router.h
index fd2076af01..7a093019ff 100644
--- a/src/or/router.h
+++ b/src/or/router.h
@@ -90,8 +90,8 @@ int router_is_me(const routerinfo_t *router);
int router_fingerprint_is_me(const char *fp);
int router_pick_published_address(const or_options_t *options, uint32_t *addr);
int router_rebuild_descriptor(int force);
-int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
- crypto_pk_t *ident_key);
+char *router_dump_router_to_string(routerinfo_t *router,
+ crypto_pk_t *ident_key);
void router_get_prim_orport(const routerinfo_t *router,
tor_addr_port_t *addr_port_out);
void router_get_pref_orport(const routerinfo_t *router,