aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-26 17:35:08 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-26 17:35:08 +0000
commitdf5e8f65bcc1ed3353c45a80baab126476aa5011 (patch)
tree142809c03246a9f40c8813313f1ade11466dfe05 /src/or/rephist.c
parent41aef35963efb37b85ac7ea1d24b3bd1dea936cb (diff)
downloadtor-df5e8f65bcc1ed3353c45a80baab126476aa5011.tar.gz
tor-df5e8f65bcc1ed3353c45a80baab126476aa5011.zip
Add more missing documentation, and correct an error in container.c documentation: Don't introduce two parameters called n when you're calling an algorithm O(n).
svn:r17783
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index f268dcc954..e37185c53f 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1263,9 +1263,9 @@ bw_array_new(void)
return b;
}
-/* DOCDOC read_array */
+/** Recent history of bandwidth observations for read operations. */
static bw_array_t *read_array = NULL;
-/* DOCDOC write_array */
+/** Recent history of bandwidth observations for write operations. */
static bw_array_t *write_array = NULL;
/** Set up read_array and write_array. */
@@ -1913,7 +1913,7 @@ typedef struct hs_usage_current_observation_period_t {
time_t start_of_next_period;
} hs_usage_current_observation_period_t;
-/* DOCDOC current_period */
+/** Usage statistics for the current observation period. */
static hs_usage_current_observation_period_t *current_period = NULL;
/* DOCDOC publish_total */
static hs_usage_service_related_observation_t *publish_total = NULL;