diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-22 19:00:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-22 19:00:05 +0000 |
commit | b68379b13b9169cf3542d678da6c1c2b4258c49e (patch) | |
tree | 4b2dd4aebe8d834486fb86d5a0853db60337c7d4 /src/or/rephist.c | |
parent | e5100bc6b5d3d7b004a66358bdf66ae8d3b00084 (diff) | |
download | tor-b68379b13b9169cf3542d678da6c1c2b4258c49e.tar.gz tor-b68379b13b9169cf3542d678da6c1c2b4258c49e.zip |
Add DOCDOC entries for undocumented static and global variables.
svn:r17739
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 4a77bad2b1..f268dcc954 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1263,7 +1263,9 @@ bw_array_new(void) return b; } +/* DOCDOC read_array */ static bw_array_t *read_array = NULL; +/* DOCDOC write_array */ static bw_array_t *write_array = NULL; /** Set up read_array and write_array. */ @@ -1731,16 +1733,27 @@ rep_hist_circbuilding_dormant(time_t now) return 1; } +/* DOCDOC n_signed_dir_objs */ static uint32_t n_signed_dir_objs = 0; +/* DOCDOC n_signed_routerdescs */ static uint32_t n_signed_routerdescs = 0; +/* DOCDOC n_verified_dir_objs */ static uint32_t n_verified_dir_objs = 0; +/* DOCDOC n_verified_routerdescs */ static uint32_t n_verified_routerdescs = 0; +/* DOCDOC n_onionskins_encrypted */ static uint32_t n_onionskins_encrypted = 0; +/* DOCDOC n_onionskins_decrypted */ static uint32_t n_onionskins_decrypted = 0; +/* DOCDOC n_tls_client_handshakes */ static uint32_t n_tls_client_handshakes = 0; +/* DOCDOC n_tls_server_handshakes */ static uint32_t n_tls_server_handshakes = 0; +/* DOCDOC n_rend_client_ops */ static uint32_t n_rend_client_ops = 0; +/* DOCDOC n_rend_mid_ops */ static uint32_t n_rend_mid_ops = 0; +/* DOCDOC n_rend_server_ops */ static uint32_t n_rend_server_ops = 0; /** Increment the count of the number of times we've done <b>operation</b>. */ @@ -1900,11 +1913,17 @@ typedef struct hs_usage_current_observation_period_t { time_t start_of_next_period; } hs_usage_current_observation_period_t; +/* DOCDOC current_period */ static hs_usage_current_observation_period_t *current_period = NULL; +/* DOCDOC publish_total */ static hs_usage_service_related_observation_t *publish_total = NULL; +/* DOCDOC publish_novel */ static hs_usage_service_related_observation_t *publish_novel = NULL; +/* DOCDOC fetch_total */ static hs_usage_service_related_observation_t *fetch_total = NULL; +/* DOCDOC fetch_successful */ static hs_usage_service_related_observation_t *fetch_successful = NULL; +/* DOCDOC descs */ static hs_usage_general_period_related_observations_t *descs = NULL; /** Creates an empty ordered list element. */ |