aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-17 12:38:37 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-17 12:38:37 +0000
commitdf9c8feac782c9feebad3a0fc7cc5eb7068bccf2 (patch)
treead090affe0b93f33441afeddda27990a33f32464 /src/or/routerparse.c
parentb5a7347db50ad76e8e1aaf6a6a88f733c202ca37 (diff)
downloadtor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.tar.gz
tor-df9c8feac782c9feebad3a0fc7cc5eb7068bccf2.zip
Commit fixes for several pending tor core tasks: document all DOCDOCed functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value.
svn:r3769
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 651ef52313..95d19d48d8 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -541,7 +541,9 @@ router_parse_routerlist_from_directory(const char *str,
return r;
}
-/* DOCDOC */
+/** Read a signed router status statement from <b>str</b>. On
+ * success, return it, and cache the original string if
+ * <b>write_to_cache</b> is set. Otherwise, return NULL. */
running_routers_t *
router_parse_runningrouters(const char *str, int write_to_cache)
{