[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] add a TorVersion state string.
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
config.c or.h
Log Message:
add a TorVersion state string.
not yet set to anything.
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.471
retrieving revision 1.472
diff -u -p -d -r1.471 -r1.472
--- config.c 31 Dec 2005 06:32:57 -0000 1.471
+++ config.c 31 Dec 2005 08:16:07 -0000 1.472
@@ -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 }
Index: or.h
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.769
retrieving revision 1.770
diff -u -p -d -r1.769 -r1.770
--- or.h 31 Dec 2005 06:32:57 -0000 1.769
+++ or.h 31 Dec 2005 08:16:07 -0000 1.770
@@ -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