From 6c693dbda69738b65dddb30f153a92178f9c1d18 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 31 Dec 2005 08:16:07 +0000 Subject: add a TorVersion state string. not yet set to anything. svn:r5687 --- src/or/config.c | 2 ++ src/or/or.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/or/config.c b/src/or/config.c index a0d2eaab9a..09fbdaa689 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -244,6 +244,8 @@ static config_var_t _state_vars[] = { VAR("BWHistoryWriteInterval", UINT, BWHistoryWriteInterval, NULL), VAR("BWHistoryWriteValues", CSV, BWHistoryWriteValues, NULL), + VAR("TorVersion", STRING, TorVersion, NULL), + VAR("LastWritten", ISOTIME, LastWritten, NULL), { NULL, CONFIG_TYPE_OBSOLETE, 0, NULL, NULL } diff --git a/src/or/or.h b/src/or/or.h index ed0f178011..9d118f94d3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1379,6 +1379,8 @@ typedef struct { time_t BWHistoryWriteEnds; int BWHistoryWriteInterval; smartlist_t *BWHistoryWriteValues; + + char *TorVersion; } or_state_t; #define MAX_SOCKS_REPLY_LEN 1024 -- cgit v1.2.3-54-g00ecf