]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/man/man3/ConnectClass.3
9f3d55c373a7202723f8bb4fefe5b79993a3a398
[user/henk/code/inspircd.git] / docs / man / man3 / ConnectClass.3
1 .TH "ConnectClass" 3 "2 Apr 2005" "InspIRCd" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 ConnectClass \- Holds information relevent to <connect allow> and <connect deny> tags in the config file.  
6
7 .PP
8 .SH SYNOPSIS
9 .br
10 .PP
11 \fC#include <users.h>\fP
12 .PP
13 Inherits \fBclassbase\fP.
14 .PP
15 .SS "Public Member Functions"
16
17 .in +1c
18 .ti -1c
19 .RI "\fBConnectClass\fP ()"
20 .br
21 .in -1c
22 .SS "Public Attributes"
23
24 .in +1c
25 .ti -1c
26 .RI "int \fBtype\fP"
27 .br
28 .RI "\fIType of line, either CC_ALLOW or CC_DENY. \fP"
29 .ti -1c
30 .RI "int \fBregistration_timeout\fP"
31 .br
32 .RI "\fIMax time to register the connection in seconds. \fP"
33 .ti -1c
34 .RI "int \fBflood\fP"
35 .br
36 .RI "\fINumber of lines in buffer before excess flood is triggered. \fP"
37 .ti -1c
38 .RI "char \fBhost\fP [MAXBUF]"
39 .br
40 .RI "\fIHost mask for this line. \fP"
41 .ti -1c
42 .RI "char \fBpass\fP [MAXBUF]"
43 .br
44 .RI "\fI(Optional) Password for this line \fP"
45 .in -1c
46 .SH "Detailed Description"
47 .PP 
48 Holds information relevent to <connect allow> and <connect deny> tags in the config file. Definition at line 45 of file users.h.
49 .SH "Constructor & Destructor Documentation"
50 .PP 
51 .SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
52 .PP
53 Definition at line 64 of file users.h.
54 .PP
55 References flood, host, pass, and registration_timeout.
56 .PP
57 .nf
58 65         {
59 66                 registration_timeout = 0;
60 67                 flood = 0;
61 68                 strlcpy(host,'',MAXBUF);
62 69                 strlcpy(pass,'',MAXBUF);
63 70         }
64 .fi
65 .SH "Member Data Documentation"
66 .PP 
67 .SS "int \fBConnectClass::flood\fP"
68 .PP
69 Number of lines in buffer before excess flood is triggered. Definition at line 56 of file users.h.
70 .PP
71 Referenced by ConnectClass().
72 .SS "char \fBConnectClass::host\fP[MAXBUF]"
73 .PP
74 Host mask for this line. Definition at line 59 of file users.h.
75 .PP
76 Referenced by ConnectClass().
77 .SS "char \fBConnectClass::pass\fP[MAXBUF]"
78 .PP
79 (Optional) Password for this line Definition at line 62 of file users.h.
80 .PP
81 Referenced by ConnectClass().
82 .SS "int \fBConnectClass::registration_timeout\fP"
83 .PP
84 Max time to register the connection in seconds. Definition at line 53 of file users.h.
85 .PP
86 Referenced by ConnectClass().
87 .SS "int \fBConnectClass::type\fP"
88 .PP
89 Type of line, either CC_ALLOW or CC_DENY. Definition at line 50 of file users.h.
90
91 .SH "Author"
92 .PP 
93 Generated automatically by Doxygen for InspIRCd from the source code.