aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-22 07:51:06 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-22 07:51:06 +0000
commit84790d059fc08bc086104a8ee0486690c0d0adba (patch)
tree751dbcb16afc5c291f735c05fc5a70a496cfba51 /src/or/hibernate.c
parentd634e5b9af38541fed4b684a9ed1ba8ed35e4326 (diff)
downloadtor-84790d059fc08bc086104a8ee0486690c0d0adba.tar.gz
tor-84790d059fc08bc086104a8ee0486690c0d0adba.zip
r9715@catbus: nickm | 2007-01-22 02:51:04 -0500
Document a few undocumented functions and arguments. svn:r9385
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 04af40de3c..29736e6927 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -940,7 +940,11 @@ consider_hibernation(time_t now)
}
}
-/** DOCDOC */
+/** Helper function: called when we get a GETINFO request for an
+ * accounting-related key on the control connection <b>conn</b>. If we can
+ * answer the request for <b>question</b>, then set *<b>answer</b> to a newly
+ * allocated string holding the result. Otherwise, set *<b>answer</b> to
+ * NULL. */
int
getinfo_helper_accounting(control_connection_t *conn,
const char *question, char **answer)