summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-03-18 19:30:26 +0000
committerNick Mathewson <nickm@torproject.org>2009-03-18 19:30:26 +0000
commite591aafca420b673a63881573581a9cdb178c3f9 (patch)
tree1e42c39f3380fb284d4506449e3830524842a5c4 /src/or/or.h
parent49308dcc7ad498d03d5460c0078d1e684cb1a1a2 (diff)
downloadtor-e591aafca420b673a63881573581a9cdb178c3f9.tar.gz
tor-e591aafca420b673a63881573581a9cdb178c3f9.zip
Add a function to get a LongName from a routerstatus. Needed for partial bug 941 fix.
svn:r19077
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index e55d324284..a6843b7807 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4238,7 +4238,8 @@ char *extrainfo_get_client_geoip_summary(time_t);
int is_legal_nickname(const char *s);
int is_legal_nickname_or_hexdigest(const char *s);
int is_legal_hexdigest(const char *s);
-void router_get_verbose_nickname(char *buf, routerinfo_t *router);
+void router_get_verbose_nickname(char *buf, const routerinfo_t *router);
+void routerstatus_get_verbose_nickname(char *buf, const routerstatus_t *router);
void router_reset_warnings(void);
void router_reset_reachability(void);
void router_free_all(void);