aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-31 06:14:37 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-31 06:14:37 +0000
commit711cad94ed8c5b11d9af62b0a28971eaf5a04d85 (patch)
tree862f4b312f34b60d792e33113c5a54a513b0cc53 /src/or/or.h
parent0b92c28d84c1e0ac30a6b21e0189b4968961e008 (diff)
downloadtor-711cad94ed8c5b11d9af62b0a28971eaf5a04d85.tar
tor-711cad94ed8c5b11d9af62b0a28971eaf5a04d85.tar.gz
when we think a router is unreachable, pass the message back to the
server's logs, and make it a 'warn'. also, fix a memory leak for rejected router descriptors. svn:r4889
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 45e5a7b24..8cd7573df 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1632,6 +1632,8 @@ const char *dirserv_get_nickname_by_digest(const char *digest);
int dirserv_add_descriptor(const char *desc, const char **msg);
char *dirserver_getinfo_unregistered(const char *question);
void dirserv_free_descriptors(void);
+int dirserv_thinks_router_is_blatantly_unreachable(routerinfo_t *router,
+ time_t now);
int list_server_status(smartlist_t *routers, char **router_status_out);
void dirserv_log_unreachable_servers(time_t now);
int dirserv_dump_directory_to_string(char **dir_out,