diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:15 +0000 |
commit | 141a5877f3dad587e3af16a1e589a668fc227a41 (patch) | |
tree | 4266c24380dbfbfd0bedddb131c8f71c7668c778 /src/or/rephist.c | |
parent | de827f89df460e5920239a14addd1dd264b76bb5 (diff) | |
download | tor-141a5877f3dad587e3af16a1e589a668fc227a41.tar tor-141a5877f3dad587e3af16a1e589a668fc227a41.tar.gz |
r14063@tombo: nickm | 2008-02-08 15:48:32 -0500
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections.
svn:r13430
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index b3fb2adcb..6f973be61 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -19,8 +19,9 @@ static void bw_arrays_init(void); static void predicted_ports_init(void); static void hs_usage_init(void); -/**DOCDOC*/ +/** Total number of bytes currently allocated in fields used by rephist.c */ uint64_t rephist_total_alloc=0; +/** Number of or_history_t obects currently allocated */ uint32_t rephist_total_num=0; /** If the total weighted run count of all runs for a router ever falls |