summaryrefslogtreecommitdiff
path: root/docs/man/man3/xline.h.3
blob: f5bd289ba8a3689b654344dbccacab93dcd8bc8a (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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
.TH "xline.h" 3 "13 Apr 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
xline.h \- 
.SH SYNOPSIS
.br
.PP
\fC#include <typeinfo>\fP
.br
\fC#include <iostream>\fP
.br
\fC#include <string>\fP
.br
\fC#include <deque>\fP
.br
\fC#include <sstream>\fP
.br
\fC#include <vector>\fP
.br
\fC#include 'users.h'\fP
.br
\fC#include 'channels.h'\fP
.br

.SS "Compounds"

.in +1c
.ti -1c
.RI "class \fBELine\fP"
.br
.ti -1c
.RI "class \fBGLine\fP"
.br
.RI "\fIGLine class. \fP"
.ti -1c
.RI "class \fBKLine\fP"
.br
.RI "\fIKLine class. \fP"
.ti -1c
.RI "class \fBQLine\fP"
.br
.RI "\fIQLine class. \fP"
.ti -1c
.RI "class \fBXLine\fP"
.br
.RI "\fIXLine is the base class for ban lines such as G lines and K lines. \fP"
.ti -1c
.RI "class \fBZLine\fP"
.br
.RI "\fIZLine class. \fP"
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBread_xline_defaults\fP ()"
.br
.ti -1c
.RI "void \fBadd_gline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
.br
.ti -1c
.RI "void \fBadd_qline\fP (long duration, const char *source, const char *reason, const char *nickname)"
.br
.ti -1c
.RI "void \fBadd_zline\fP (long duration, const char *source, const char *reason, const char *ipaddr)"
.br
.ti -1c
.RI "void \fBadd_kline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
.br
.ti -1c
.RI "void \fBadd_eline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
.br
.ti -1c
.RI "bool \fBdel_gline\fP (const char *hostmask)"
.br
.ti -1c
.RI "bool \fBdel_qline\fP (const char *nickname)"
.br
.ti -1c
.RI "bool \fBdel_zline\fP (const char *ipaddr)"
.br
.ti -1c
.RI "bool \fBdel_kline\fP (const char *hostmask)"
.br
.ti -1c
.RI "bool \fBdel_eline\fP (const char *hostmask)"
.br
.ti -1c
.RI "char * \fBmatches_qline\fP (const char *nick)"
.br
.ti -1c
.RI "char * \fBmatches_gline\fP (const char *host)"
.br
.ti -1c
.RI "char * \fBmatches_zline\fP (const char *ipaddr)"
.br
.ti -1c
.RI "char * \fBmatches_kline\fP (const char *host)"
.br
.ti -1c
.RI "char * \fBmatches_exception\fP (const char *host)"
.br
.ti -1c
.RI "void \fBexpire_lines\fP ()"
.br
.ti -1c
.RI "void \fBapply_lines\fP ()"
.br
.ti -1c
.RI "void \fBstats_k\fP (\fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBstats_g\fP (\fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBstats_q\fP (\fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBstats_z\fP (\fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBstats_e\fP (\fBuserrec\fP *user)"
.br
.ti -1c
.RI "void \fBgline_set_creation_time\fP (char *host, time_t create_time)"
.br
.ti -1c
.RI "void \fBqline_set_creation_time\fP (char *nick, time_t create_time)"
.br
.ti -1c
.RI "void \fBzline_set_creation_time\fP (char *ip, time_t create_time)"
.br
.ti -1c
.RI "bool \fBzline_make_global\fP (const char *ipaddr)"
.br
.ti -1c
.RI "bool \fBqline_make_global\fP (const char *nickname)"
.br
.ti -1c
.RI "void \fBsync_xlines\fP (\fBserverrec\fP *serv, char *tcp_host)"
.br
.in -1c
.SH "Function Documentation"
.PP 
.SS "void add_eline (long duration, const char * source, const char * reason, const char * hostmask)"
.PP
Referenced by Server::AddELine().
.SS "void add_gline (long duration, const char * source, const char * reason, const char * hostmask)"
.PP
Referenced by Server::AddGLine().
.SS "void add_kline (long duration, const char * source, const char * reason, const char * hostmask)"
.PP
Referenced by Server::AddKLine().
.SS "void add_qline (long duration, const char * source, const char * reason, const char * nickname)"
.PP
Referenced by Server::AddQLine().
.SS "void add_zline (long duration, const char * source, const char * reason, const char * ipaddr)"
.PP
Referenced by Server::AddZLine().
.SS "void apply_lines ()"
.PP
.SS "bool del_eline (const char * hostmask)"
.PP
Referenced by Server::DelELine().
.SS "bool del_gline (const char * hostmask)"
.PP
Referenced by Server::DelGLine().
.SS "bool del_kline (const char * hostmask)"
.PP
Referenced by Server::DelKLine().
.SS "bool del_qline (const char * nickname)"
.PP
Referenced by Server::DelQLine().
.SS "bool del_zline (const char * ipaddr)"
.PP
Referenced by Server::DelZLine().
.SS "void expire_lines ()"
.PP
.SS "void gline_set_creation_time (char * host, time_t create_time)"
.PP
.SS "char* matches_exception (const char * host)"
.PP
.SS "char* matches_gline (const char * host)"
.PP
.SS "char* matches_kline (const char * host)"
.PP
.SS "char* matches_qline (const char * nick)"
.PP
.SS "char* matches_zline (const char * ipaddr)"
.PP
.SS "bool qline_make_global (const char * nickname)"
.PP
.SS "void qline_set_creation_time (char * nick, time_t create_time)"
.PP
.SS "void read_xline_defaults ()"
.PP
.SS "void stats_e (\fBuserrec\fP * user)"
.PP
.SS "void stats_g (\fBuserrec\fP * user)"
.PP
.SS "void stats_k (\fBuserrec\fP * user)"
.PP
.SS "void stats_q (\fBuserrec\fP * user)"
.PP
.SS "void stats_z (\fBuserrec\fP * user)"
.PP
.SS "void sync_xlines (\fBserverrec\fP * serv, char * tcp_host)"
.PP
.SS "bool zline_make_global (const char * ipaddr)"
.PP
.SS "void zline_set_creation_time (char * ip, time_t create_time)"
.PP
.SH "Author"
.PP 
Generated automatically by Doxygen for InspIRCd from the source code.