add a TorVersion state string.

not yet set to anything.


svn:r5687
This commit is contained in:
Roger Dingledine 2005-12-31 08:16:07 +00:00
parent e9e7dc176c
commit 6c693dbda6
2 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,8 @@ static config_var_t _state_vars[] = {
VAR("BWHistoryWriteInterval", UINT, BWHistoryWriteInterval, NULL), VAR("BWHistoryWriteInterval", UINT, BWHistoryWriteInterval, NULL),
VAR("BWHistoryWriteValues", CSV, BWHistoryWriteValues, NULL), VAR("BWHistoryWriteValues", CSV, BWHistoryWriteValues, NULL),
VAR("TorVersion", STRING, TorVersion, NULL),
VAR("LastWritten", ISOTIME, LastWritten, NULL), VAR("LastWritten", ISOTIME, LastWritten, NULL),
{ NULL, CONFIG_TYPE_OBSOLETE, 0, NULL, NULL } { NULL, CONFIG_TYPE_OBSOLETE, 0, NULL, NULL }

View File

@ -1379,6 +1379,8 @@ typedef struct {
time_t BWHistoryWriteEnds; time_t BWHistoryWriteEnds;
int BWHistoryWriteInterval; int BWHistoryWriteInterval;
smartlist_t *BWHistoryWriteValues; smartlist_t *BWHistoryWriteValues;
char *TorVersion;
} or_state_t; } or_state_t;
#define MAX_SOCKS_REPLY_LEN 1024 #define MAX_SOCKS_REPLY_LEN 1024