Commit 6c693dbd authored by Roger Dingledine's avatar Roger Dingledine
Browse files

add a TorVersion state string.

not yet set to anything.


svn:r5687
parent e9e7dc17
......@@ -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 }
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment