mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
add a TorVersion state string.
not yet set to anything. svn:r5687
This commit is contained in:
parent
e9e7dc176c
commit
6c693dbda6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user