.TH "ConnectClass" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME ConnectClass \- Holds information relevent to and tags in the config file. .PP .SH SYNOPSIS .br .PP \fC#include \fP .PP Inherits \fBclassbase\fP. .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBConnectClass\fP ()" .br .in -1c .SS "Public Attributes" .in +1c .ti -1c .RI "char \fBtype\fP" .br .RI "\fIType of line, either CC_ALLOW or CC_DENY. \fP" .ti -1c .RI "int \fBregistration_timeout\fP" .br .RI "\fIMax time to register the connection in seconds. \fP" .ti -1c .RI "int \fBflood\fP" .br .RI "\fINumber of lines in buffer before excess flood is triggered. \fP" .ti -1c .RI "char \fBhost\fP [MAXBUF]" .br .RI "\fIHost mask for this line. \fP" .ti -1c .RI "int \fBpingtime\fP" .br .RI "\fINumber of seconds between pings for this line. \fP" .ti -1c .RI "char \fBpass\fP [MAXBUF]" .br .RI "\fI(Optional) Password for this line \fP" .ti -1c .RI "int \fBthreshold\fP" .br .RI "\fIThreshold value for flood disconnect. \fP" .ti -1c .RI "long \fBsendqmax\fP" .br .RI "\fIMaximum size of sendq for users in this class (bytes). \fP" .ti -1c .RI "long \fBrecvqmax\fP" .br .RI "\fIMaximum size of recvq for users in this class (bytes). \fP" .in -1c .SH "Detailed Description" .PP Holds information relevent to and tags in the config file. Definition at line 45 of file users.h. .SH "Constructor & Destructor Documentation" .PP .SS "ConnectClass::ConnectClass ()\fC [inline]\fP" .PP Definition at line 79 of file users.h. .PP References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold. .PP .nf 80 { 81 registration_timeout = 0; 82 flood = 0; 83 pingtime = 0; 84 threshold = 0; 85 sendqmax = 0; 86 recvqmax = 0; 87 strlcpy(host,'',MAXBUF); 88 strlcpy(pass,'',MAXBUF); 89 } .fi .SH "Member Data Documentation" .PP .SS "int \fBConnectClass::flood\fP" .PP Number of lines in buffer before excess flood is triggered. Definition at line 56 of file users.h. .PP Referenced by ConnectClass(). .SS "char \fBConnectClass::host\fP[MAXBUF]" .PP Host mask for this line. Definition at line 59 of file users.h. .PP Referenced by ConnectClass(). .SS "char \fBConnectClass::pass\fP[MAXBUF]" .PP (Optional) Password for this line Definition at line 65 of file users.h. .PP Referenced by ConnectClass(). .SS "int \fBConnectClass::pingtime\fP" .PP Number of seconds between pings for this line. Definition at line 62 of file users.h. .PP Referenced by ConnectClass(). .SS "long \fBConnectClass::recvqmax\fP" .PP Maximum size of recvq for users in this class (bytes). Definition at line 77 of file users.h. .PP Referenced by ConnectClass(). .SS "int \fBConnectClass::registration_timeout\fP" .PP Max time to register the connection in seconds. Definition at line 53 of file users.h. .PP Referenced by ConnectClass(). .SS "long \fBConnectClass::sendqmax\fP" .PP Maximum size of sendq for users in this class (bytes). Definition at line 73 of file users.h. .PP Referenced by ConnectClass(). .SS "int \fBConnectClass::threshold\fP" .PP Threshold value for flood disconnect. Definition at line 69 of file users.h. .PP Referenced by ConnectClass(). .SS "char \fBConnectClass::type\fP" .PP Type of line, either CC_ALLOW or CC_DENY. Definition at line 50 of file users.h. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code.