diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-03-28 04:08:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-28 04:08:56 -0400 |
commit | a9c0e9fec2ced629aefdc1436ec41467353cc9a0 (patch) | |
tree | 630a73ae977af644a3dfbb07c913c7c8415d4da6 /src/or/config.c | |
parent | 8387d8571ff85fb36097cdda78267aac509ec53e (diff) | |
download | tor-a9c0e9fec2ced629aefdc1436ec41467353cc9a0.tar.gz tor-a9c0e9fec2ced629aefdc1436ec41467353cc9a0.zip |
Write initial documentation for the contents of the state file
Fixes bug 2987. There is still some information to go, but now we
have a place to put it.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 3de8426460..05f53bdd2d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -484,6 +484,8 @@ static const config_var_t testing_tor_network_defaults[] = { /** Array of "state" variables saved to the ~/.tor/state file. */ static config_var_t _state_vars[] = { + /* Remember to document these in state-contents.txt ! */ + V(AccountingBytesReadInInterval, MEMUNIT, NULL), V(AccountingBytesWrittenInInterval, MEMUNIT, NULL), V(AccountingExpectedUsage, MEMUNIT, NULL), |