summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 3e4afe88f..44005bb92 100644
--- a/include/users.h
+++ b/include/users.h
@@ -68,9 +68,13 @@ class ConnectClass : public classbase
*/
long threshold;
- /** Maximum size of sendq for users in this class
+ /** Maximum size of sendq for users in this class (bytes)
*/
long sendqmax;
+
+ /** Maximum size of recvq for users in this class (bytes)
+ */
+ long recvqmax;
ConnectClass()
{
@@ -79,6 +83,7 @@ class ConnectClass : public classbase
pingtime = 0;
threshold = 0;
sendqmax = 0;
+ recvqmax = 0;
strlcpy(host,"",MAXBUF);
strlcpy(pass,"",MAXBUF);
}
@@ -208,6 +213,10 @@ class userrec : public connection
*/
long sendqmax;
+ /** Maximum size this user's recvq can become
+ */
+ long recvqmax;
+
userrec();
virtual ~userrec() { }