summaryrefslogtreecommitdiff
path: root/docs/man/man3/ConnectClass.3
blob: 25d4629259526845ec5de6a0e8ab7fbba962ce7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.TH "ConnectClass" 3 "15 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ConnectClass \- Holds information relevent to <connect allow> and <connect deny> tags in the config file.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <users.h>\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 <connect allow> and <connect deny> tags in the config file. 
.PP
Definition at line 48 of file users.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
.PP
Definition at line 82 of file users.h.
.PP
References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold.
.PP
.nf
83         {
84                 registration_timeout = 0;
85                 flood = 0;
86                 pingtime = 0;
87                 threshold = 0;
88                 sendqmax = 0;
89                 recvqmax = 0;
90                 strlcpy(host,'',MAXBUF);
91                 strlcpy(pass,'',MAXBUF);
92         }
.fi
.PP
.SH "Member Data Documentation"
.PP 
.SS "int \fBConnectClass::flood\fP"
.PP
Number of lines in buffer before excess flood is triggered. 
.PP
Definition at line 59 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::host\fP[MAXBUF]"
.PP
Host mask for this line. 
.PP
Definition at line 62 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::pass\fP[MAXBUF]"
.PP
(Optional) Password for this line 
.PP
Definition at line 68 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::pingtime\fP"
.PP
Number of seconds between pings for this line. 
.PP
Definition at line 65 of file users.h.
.PP
Referenced by ConnectClass().
.SS "long \fBConnectClass::recvqmax\fP"
.PP
Maximum size of recvq for users in this class (bytes). 
.PP
Definition at line 80 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::registration_timeout\fP"
.PP
Max time to register the connection in seconds. 
.PP
Definition at line 56 of file users.h.
.PP
Referenced by ConnectClass().
.SS "long \fBConnectClass::sendqmax\fP"
.PP
Maximum size of sendq for users in this class (bytes). 
.PP
Definition at line 76 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::threshold\fP"
.PP
Threshold value for flood disconnect. 
.PP
Definition at line 72 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::type\fP"
.PP
Type of line, either CC_ALLOW or CC_DENY. 
.PP
Definition at line 53 of file users.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for InspIRCd from the source code.