aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorunixninja92 <charles@unixninja92.com>2016-01-03 23:02:44 -0500
committerNick Mathewson <nickm@torproject.org>2016-01-08 15:52:10 -0800
commit4f0e28977d6376ccba599e7089aeb9e3b4f25e5f (patch)
tree4eab9c52a3395e7976cb36335031e5caa55adf26 /src/or/or.h
parentcdbb04be102969bd2cece9daf42896e061cc8880 (diff)
downloadtor-4f0e28977d6376ccba599e7089aeb9e3b4f25e5f.tar.gz
tor-4f0e28977d6376ccba599e7089aeb9e3b4f25e5f.zip
Added AccountRule in and AccountingRule out options
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 89c539817f..3178fda256 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3893,9 +3893,11 @@ typedef struct {
* hibernate." */
/** How do we determine when our AccountingMax has been reached?
* "max" for when in or out reaches AccountingMax
- * "sum" for when in plus out reaches AccountingMax */
+ * "sum" for when in plus out reaches AccountingMax
+ * "in" for when in reaches AccountingMax
+ * "out" for when out reaches AccountingMax */
char *AccountingRule_option;
- enum { ACCT_MAX, ACCT_SUM } AccountingRule;
+ enum { ACCT_MAX, ACCT_SUM, ACCT_IN, ACCT_OUT } AccountingRule;
/** Base64-encoded hash of accepted passwords for the control system. */
config_line_t *HashedControlPassword;