diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-31 08:16:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-31 08:16:07 +0000 |
commit | 6c693dbda69738b65dddb30f153a92178f9c1d18 (patch) | |
tree | 7b37397f81667fe08e66c72b06df45751590d9b1 /src | |
parent | e9e7dc176ce5cfd41c62d1a18bb55e11d4c98fc0 (diff) | |
download | tor-6c693dbda69738b65dddb30f153a92178f9c1d18.tar tor-6c693dbda69738b65dddb30f153a92178f9c1d18.tar.gz |
add a TorVersion state string.
not yet set to anything.
svn:r5687
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index a0d2eaab9..09fbdaa68 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 ed0f17801..9d118f94d 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 |