Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ConnectClass Class Reference

Holds information relevent to <connect allow> and <connect deny> tags in the config file. More...

#include <users.h>

Inheritance diagram for ConnectClass:

Inheritance graph
[legend]
Collaboration diagram for ConnectClass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConnectClass ()

Public Attributes

char type
 Type of line, either CC_ALLOW or CC_DENY.
int registration_timeout
 Max time to register the connection in seconds.
int flood
 Number of lines in buffer before excess flood is triggered.
char host [MAXBUF]
 Host mask for this line.
int pingtime
 Number of seconds between pings for this line.
char pass [MAXBUF]
 (Optional) Password for this line
int threshold
 Threshold value for flood disconnect.
long sendqmax
 Maximum size of sendq for users in this class (bytes).
long recvqmax
 Maximum size of recvq for users in this class (bytes).

Detailed Description

Holds information relevent to <connect allow> and <connect deny> tags in the config file.

Definition at line 52 of file users.h.


Constructor & Destructor Documentation

ConnectClass::ConnectClass  )  [inline]
 

Definition at line 86 of file users.h.

References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold.

00087         {
00088                 registration_timeout = 0;
00089                 flood = 0;
00090                 pingtime = 0;
00091                 threshold = 0;
00092                 sendqmax = 0;
00093                 recvqmax = 0;
00094                 strlcpy(host,"",MAXBUF);
00095                 strlcpy(pass,"",MAXBUF);
00096         }


Member Data Documentation

int ConnectClass::flood
 

Number of lines in buffer before excess flood is triggered.

Definition at line 63 of file users.h.

Referenced by ConnectClass().

char ConnectClass::host[MAXBUF]
 

Host mask for this line.

Definition at line 66 of file users.h.

Referenced by ConnectClass().

char ConnectClass::pass[MAXBUF]
 

(Optional) Password for this line

Definition at line 72 of file users.h.

Referenced by ConnectClass().

int ConnectClass::pingtime
 

Number of seconds between pings for this line.

Definition at line 69 of file users.h.

Referenced by ConnectClass().

long ConnectClass::recvqmax
 

Maximum size of recvq for users in this class (bytes).

Definition at line 84 of file users.h.

Referenced by ConnectClass().

int ConnectClass::registration_timeout
 

Max time to register the connection in seconds.

Definition at line 60 of file users.h.

Referenced by ConnectClass().

long ConnectClass::sendqmax
 

Maximum size of sendq for users in this class (bytes).

Definition at line 80 of file users.h.

Referenced by ConnectClass().

int ConnectClass::threshold
 

Threshold value for flood disconnect.

Definition at line 76 of file users.h.

Referenced by ConnectClass().

char ConnectClass::type
 

Type of line, either CC_ALLOW or CC_DENY.

Definition at line 57 of file users.h.


The documentation for this class was generated from the following file:
Generated on Mon Dec 19 18:02:15 2005 for InspIRCd by  doxygen 1.4.4-20050815