summaryrefslogtreecommitdiff
path: root/docs/man/man3/ConnectClass.3
blob: beb774677f814a2a2314e508b1a4a78648514d43 (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
.TH "ConnectClass" 3 "2 May 2004" "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 "int \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 "char \fBpass\fP [MAXBUF]"
.br
.RI "\fI(Optional) Password for this line\fP"
.in -1c
.SH "Detailed Description"
.PP 
Holds information relevent to <connect allow> and <connect deny> tags in the config file.Definition at line 34 of file users.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
.PP
Definition at line 53 of file users.h.
.PP
.nf
54         {
55                 registration_timeout = 0;
56                 flood = 0;
57                 strcpy(host,'');
58                 strcpy(pass,'');
59         }
.fi
.SH "Member Data Documentation"
.PP 
.SS "int ConnectClass::flood"
.PP
Number of lines in buffer before excess flood is triggered.Definition at line 45 of file users.h.
.SS "char ConnectClass::host[MAXBUF]"
.PP
Host mask for this line.Definition at line 48 of file users.h.
.SS "char ConnectClass::pass[MAXBUF]"
.PP
(Optional) Password for this lineDefinition at line 51 of file users.h.
.SS "int ConnectClass::registration_timeout"
.PP
Max time to register the connection in seconds.Definition at line 42 of file users.h.
.SS "int ConnectClass::type"
.PP
Type of line, either CC_ALLOW or CC_DENY.Definition at line 39 of file users.h.

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