1 .TH "ConnectClass" 3 "9 Apr 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 .SH "Detailed Description"
52 Holds information relevent to <connect allow> and <connect deny> tags in the config file. Definition at line 45 of file users.h.
53 .SH "Constructor & Destructor Documentation"
55 .SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
57 Definition at line 67 of file users.h.
59 References flood, host, pass, pingtime, and registration_timeout.
63 69 registration_timeout = 0;
66 72 strlcpy(host,'',MAXBUF);
67 73 strlcpy(pass,'',MAXBUF);
70 .SH "Member Data Documentation"
72 .SS "int \fBConnectClass::flood\fP"
74 Number of lines in buffer before excess flood is triggered. Definition at line 56 of file users.h.
76 Referenced by ConnectClass().
77 .SS "char \fBConnectClass::host\fP[MAXBUF]"
79 Host mask for this line. Definition at line 59 of file users.h.
81 Referenced by ConnectClass().
82 .SS "char \fBConnectClass::pass\fP[MAXBUF]"
84 (Optional) Password for this line Definition at line 65 of file users.h.
86 Referenced by ConnectClass().
87 .SS "int \fBConnectClass::pingtime\fP"
89 Number of seconds between pings for this line. Definition at line 62 of file users.h.
91 Referenced by ConnectClass().
92 .SS "int \fBConnectClass::registration_timeout\fP"
94 Max time to register the connection in seconds. Definition at line 53 of file users.h.
96 Referenced by ConnectClass().
97 .SS "int \fBConnectClass::type\fP"
99 Type of line, either CC_ALLOW or CC_DENY. Definition at line 50 of file users.h.
103 Generated automatically by Doxygen for InspIRCd from the source code.