#include <users.h>
Inherits classbase.
Public Member Functions | |
ConnectClass () | |
Public Attributes | |
int | 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 | |
long | threshold |
Threshold value for flood disconnect. |
Definition at line 45 of file users.h.
|
Definition at line 71 of file users.h. References flood, host, pass, pingtime, registration_timeout, and threshold.
00072 { 00073 registration_timeout = 0; 00074 flood = 0; 00075 pingtime = 0; 00076 threshold = 0; 00077 strlcpy(host,"",MAXBUF); 00078 strlcpy(pass,"",MAXBUF); 00079 } |
|
Number of lines in buffer before excess flood is triggered.
Definition at line 56 of file users.h. Referenced by ConnectClass(). |
|
Host mask for this line.
Definition at line 59 of file users.h. Referenced by ConnectClass(). |
|
(Optional) Password for this line
Definition at line 65 of file users.h. Referenced by ConnectClass(). |
|
Number of seconds between pings for this line.
Definition at line 62 of file users.h. Referenced by ConnectClass(). |
|
Max time to register the connection in seconds.
Definition at line 53 of file users.h. Referenced by ConnectClass(). |
|
Threshold value for flood disconnect.
Definition at line 69 of file users.h. Referenced by ConnectClass(). |
|
Type of line, either CC_ALLOW or CC_DENY.
|