summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-07-21 15:53:17 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit6f046b2191ed1a10e9058fcc49491b8db5a96280 (patch)
tree9585a034ba00fec256a9c581f010e7357fb0de0a /src/or/statefile.c
parent2e5a2d64bd4d26323a226d1069b960b28bd25440 (diff)
downloadtor-6f046b2191ed1a10e9058fcc49491b8db5a96280.tar.gz
tor-6f046b2191ed1a10e9058fcc49491b8db5a96280.zip
prop224: Use state file to save/load revision counters
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index d0606b3012..6b759960cb 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -85,6 +85,9 @@ static config_var_t state_vars_[] = {
VAR("TransportProxy", LINELIST_S, TransportProxies, NULL),
V(TransportProxies, LINELIST_V, NULL),
+ VAR("HidServRevCounter", LINELIST_S, HidServRevCounters, NULL),
+ V(HidServRevCounters, LINELIST_V, NULL),
+
V(BWHistoryReadEnds, ISOTIME, NULL),
V(BWHistoryReadInterval, UINT, "900"),
V(BWHistoryReadValues, CSV, ""),