summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-30 17:46:14 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-30 17:46:14 +0000
commit34a3a5e2f4a1eb0c3256cccd22e1efae8584e946 (patch)
tree848f32355f754698583663e31ce4b22561cd6923 /src/or/connection_edge.c
parent23a345b3c2e7877d3cc4821ec1764f885fa01b2f (diff)
downloadtor-34a3a5e2f4a1eb0c3256cccd22e1efae8584e946.tar.gz
tor-34a3a5e2f4a1eb0c3256cccd22e1efae8584e946.zip
r14016@catbus: nickm | 2007-07-30 13:45:55 -0400
More documentation svn:r10992
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index efea1464bf..8e90d55b4a 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -654,8 +654,9 @@ addressmap_free_all(void)
/** Look at address, and rewrite it until it doesn't want any
* more rewrites; but don't get into an infinite loop.
* Don't write more than maxlen chars into address. Return true if the
- * address changed; false otherwise.
- * DOCDOC expires_out
+ * address changed; false otherwise. Set *<b>expires_out</b> to the
+ * expiry time of the result, or to <b>time_max</b> if the result does
+ * not expire.
*/
int
addressmap_rewrite(char *address, size_t maxlen, time_t *expires_out)
@@ -693,8 +694,9 @@ addressmap_rewrite(char *address, size_t maxlen, time_t *expires_out)
/** If we have a cached reverse DNS entry for the address stored in the
* <b>maxlen</b>-byte buffer <b>address</b> (typically, a dotted quad) then
- * rewrite to the cached value and return 1. Otherwise return 0.
- * DOCDOC expires_out */
+ * rewrite to the cached value and return 1. Otherwise return 0. Set
+ * *<b>expires_out</b> to the expiry time of the result, or to <b>time_max</b>
+ * if the result does not expire. */
static int
addressmap_rewrite_reverse(char *address, size_t maxlen, time_t *expires_out)
{