1 .TH "xline.h" 3 "15 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
9 \fC#include <typeinfo>\fP
11 \fC#include <iostream>\fP
13 \fC#include <string>\fP
15 \fC#include <deque>\fP
17 \fC#include <sstream>\fP
19 \fC#include <vector>\fP
21 \fC#include 'users.h'\fP
23 \fC#include 'channels.h'\fP
30 .RI "class \fBXLine\fP"
32 .RI "\fIXLine is the base class for ban lines such as G lines and K lines. \fP"
34 .RI "class \fBKLine\fP"
36 .RI "\fIKLine class. \fP"
38 .RI "class \fBGLine\fP"
40 .RI "\fIGLine class. \fP"
42 .RI "class \fBELine\fP"
45 .RI "class \fBZLine\fP"
47 .RI "\fIZLine class. \fP"
49 .RI "class \fBQLine\fP"
51 .RI "\fIQLine class. \fP"
57 .RI "void \fBread_xline_defaults\fP ()"
60 .RI "void \fBadd_gline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
63 .RI "void \fBadd_qline\fP (long duration, const char *source, const char *reason, const char *nickname)"
66 .RI "void \fBadd_zline\fP (long duration, const char *source, const char *reason, const char *ipaddr)"
69 .RI "void \fBadd_kline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
72 .RI "void \fBadd_eline\fP (long duration, const char *source, const char *reason, const char *hostmask)"
75 .RI "bool \fBdel_gline\fP (const char *hostmask)"
78 .RI "bool \fBdel_qline\fP (const char *nickname)"
81 .RI "bool \fBdel_zline\fP (const char *ipaddr)"
84 .RI "bool \fBdel_kline\fP (const char *hostmask)"
87 .RI "bool \fBdel_eline\fP (const char *hostmask)"
90 .RI "char * \fBmatches_qline\fP (const char *nick)"
93 .RI "char * \fBmatches_gline\fP (const char *host)"
96 .RI "char * \fBmatches_zline\fP (const char *ipaddr)"
99 .RI "char * \fBmatches_kline\fP (const char *host)"
102 .RI "char * \fBmatches_exception\fP (const char *host)"
105 .RI "void \fBexpire_lines\fP ()"
108 .RI "void \fBapply_lines\fP (const int What)"
111 .RI "void \fBstats_k\fP (\fBuserrec\fP *user)"
114 .RI "void \fBstats_g\fP (\fBuserrec\fP *user)"
117 .RI "void \fBstats_q\fP (\fBuserrec\fP *user)"
120 .RI "void \fBstats_z\fP (\fBuserrec\fP *user)"
123 .RI "void \fBstats_e\fP (\fBuserrec\fP *user)"
126 .RI "void \fBgline_set_creation_time\fP (char *host, time_t create_time)"
129 .RI "void \fBqline_set_creation_time\fP (char *nick, time_t create_time)"
132 .RI "void \fBzline_set_creation_time\fP (char *ip, time_t create_time)"
135 .RI "void \fBeline_set_creation_time\fP (char *host, time_t create_time)"
138 .RI "bool \fBzline_make_global\fP (const char *ipaddr)"
141 .RI "bool \fBqline_make_global\fP (const char *nickname)"
148 .RI "const int \fBAPPLY_GLINES\fP = 1"
151 .RI "const int \fBAPPLY_KLINES\fP = 2"
154 .RI "const int \fBAPPLY_QLINES\fP = 4"
157 .RI "const int \fBAPPLY_ZLINES\fP = 8"
160 .RI "const int \fBAPPLY_ALL\fP = \fBAPPLY_GLINES\fP | \fBAPPLY_KLINES\fP | \fBAPPLY_QLINES\fP | \fBAPPLY_ZLINES\fP"
163 .SH "Function Documentation"
165 .SS "void add_eline (long duration, const char * source, const char * reason, const char * hostmask)"
167 Referenced by Server::AddELine().
168 .SS "void add_gline (long duration, const char * source, const char * reason, const char * hostmask)"
170 Referenced by Server::AddGLine().
171 .SS "void add_kline (long duration, const char * source, const char * reason, const char * hostmask)"
173 Referenced by Server::AddKLine().
174 .SS "void add_qline (long duration, const char * source, const char * reason, const char * nickname)"
176 Referenced by Server::AddQLine().
177 .SS "void add_zline (long duration, const char * source, const char * reason, const char * ipaddr)"
179 Referenced by Server::AddZLine().
180 .SS "void apply_lines (const int What)"
182 .SS "bool del_eline (const char * hostmask)"
184 Referenced by Server::DelELine().
185 .SS "bool del_gline (const char * hostmask)"
187 Referenced by Server::DelGLine().
188 .SS "bool del_kline (const char * hostmask)"
190 Referenced by Server::DelKLine().
191 .SS "bool del_qline (const char * nickname)"
193 Referenced by Server::DelQLine().
194 .SS "bool del_zline (const char * ipaddr)"
196 Referenced by Server::DelZLine().
197 .SS "void eline_set_creation_time (char * host, time_t create_time)"
199 .SS "void expire_lines ()"
201 .SS "void gline_set_creation_time (char * host, time_t create_time)"
203 .SS "char* matches_exception (const char * host)"
205 .SS "char* matches_gline (const char * host)"
207 .SS "char* matches_kline (const char * host)"
209 .SS "char* matches_qline (const char * nick)"
211 .SS "char* matches_zline (const char * ipaddr)"
213 .SS "bool qline_make_global (const char * nickname)"
215 .SS "void qline_set_creation_time (char * nick, time_t create_time)"
217 .SS "void read_xline_defaults ()"
219 .SS "void stats_e (\fBuserrec\fP * user)"
221 .SS "void stats_g (\fBuserrec\fP * user)"
223 .SS "void stats_k (\fBuserrec\fP * user)"
225 .SS "void stats_q (\fBuserrec\fP * user)"
227 .SS "void stats_z (\fBuserrec\fP * user)"
229 .SS "bool zline_make_global (const char * ipaddr)"
231 .SS "void zline_set_creation_time (char * ip, time_t create_time)"
233 .SH "Variable Documentation"
235 .SS "const int \fBAPPLY_ALL\fP = \fBAPPLY_GLINES\fP | \fBAPPLY_KLINES\fP | \fBAPPLY_QLINES\fP | \fBAPPLY_ZLINES\fP"
237 Definition at line 35 of file xline.h.
238 .SS "const int \fBAPPLY_GLINES\fP = 1"
240 Definition at line 31 of file xline.h.
241 .SS "const int \fBAPPLY_KLINES\fP = 2"
243 Definition at line 32 of file xline.h.
244 .SS "const int \fBAPPLY_QLINES\fP = 4"
246 Definition at line 33 of file xline.h.
247 .SS "const int \fBAPPLY_ZLINES\fP = 8"
249 Definition at line 34 of file xline.h.
252 Generated automatically by Doxygen for InspIRCd from the source code.