1 .TH "ConnectClass" 3 "12 May 2005" "InspIRCd" \" -*- nroff -*-
5 ConnectClass \- Holds information relevent to <connect allow> and <connect deny> tags in the config file.
11 \fC#include <users.h>\fP
13 Inherits \fBclassbase\fP.
15 .SS "Public Member Functions"
19 .RI "\fBConnectClass\fP ()"
22 .SS "Public Attributes"
28 .RI "\fIType of line, either CC_ALLOW or CC_DENY. \fP"
30 .RI "int \fBregistration_timeout\fP"
32 .RI "\fIMax time to register the connection in seconds. \fP"
36 .RI "\fINumber of lines in buffer before excess flood is triggered. \fP"
38 .RI "char \fBhost\fP [MAXBUF]"
40 .RI "\fIHost mask for this line. \fP"
42 .RI "int \fBpingtime\fP"
44 .RI "\fINumber of seconds between pings for this line. \fP"
46 .RI "char \fBpass\fP [MAXBUF]"
48 .RI "\fI(Optional) Password for this line \fP"
50 .RI "int \fBthreshold\fP"
52 .RI "\fIThreshold value for flood disconnect. \fP"
54 .RI "long \fBsendqmax\fP"
56 .RI "\fIMaximum size of sendq for users in this class (bytes). \fP"
58 .RI "long \fBrecvqmax\fP"
60 .RI "\fIMaximum size of recvq for users in this class (bytes). \fP"
62 .SH "Detailed Description"
64 Holds information relevent to <connect allow> and <connect deny> tags in the config file. Definition at line 45 of file users.h.
65 .SH "Constructor & Destructor Documentation"
67 .SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
69 Definition at line 79 of file users.h.
71 References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold.
75 81 registration_timeout = 0;
81 87 strlcpy(host,'',MAXBUF);
82 88 strlcpy(pass,'',MAXBUF);
85 .SH "Member Data Documentation"
87 .SS "int \fBConnectClass::flood\fP"
89 Number of lines in buffer before excess flood is triggered. Definition at line 56 of file users.h.
91 Referenced by ConnectClass().
92 .SS "char \fBConnectClass::host\fP[MAXBUF]"
94 Host mask for this line. Definition at line 59 of file users.h.
96 Referenced by ConnectClass().
97 .SS "char \fBConnectClass::pass\fP[MAXBUF]"
99 (Optional) Password for this line Definition at line 65 of file users.h.
101 Referenced by ConnectClass().
102 .SS "int \fBConnectClass::pingtime\fP"
104 Number of seconds between pings for this line. Definition at line 62 of file users.h.
106 Referenced by ConnectClass().
107 .SS "long \fBConnectClass::recvqmax\fP"
109 Maximum size of recvq for users in this class (bytes). Definition at line 77 of file users.h.
111 Referenced by ConnectClass().
112 .SS "int \fBConnectClass::registration_timeout\fP"
114 Max time to register the connection in seconds. Definition at line 53 of file users.h.
116 Referenced by ConnectClass().
117 .SS "long \fBConnectClass::sendqmax\fP"
119 Maximum size of sendq for users in this class (bytes). Definition at line 73 of file users.h.
121 Referenced by ConnectClass().
122 .SS "int \fBConnectClass::threshold\fP"
124 Threshold value for flood disconnect. Definition at line 69 of file users.h.
126 Referenced by ConnectClass().
127 .SS "char \fBConnectClass::type\fP"
129 Type of line, either CC_ALLOW or CC_DENY. Definition at line 50 of file users.h.
133 Generated automatically by Doxygen for InspIRCd from the source code.