1 .TH "xline.h" 3 "16 Apr 2005" "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 \fBELine\fP"
33 .RI "class \fBGLine\fP"
35 .RI "\fIGLine class. \fP"
37 .RI "class \fBKLine\fP"
39 .RI "\fIKLine class. \fP"
41 .RI "class \fBQLine\fP"
43 .RI "\fIQLine class. \fP"
45 .RI "class \fBXLine\fP"
47 .RI "\fIXLine is the base class for ban lines such as G lines and K lines. \fP"
49 .RI "class \fBZLine\fP"
51 .RI "\fIZLine 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 ()"
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 "bool \fBzline_make_global\fP (const char *ipaddr)"
138 .RI "bool \fBqline_make_global\fP (const char *nickname)"
141 .RI "void \fBsync_xlines\fP (\fBserverrec\fP *serv, char *tcp_host)"
144 .SH "Function Documentation"
146 .SS "void add_eline (long duration, const char * source, const char * reason, const char * hostmask)"
148 Referenced by Server::AddELine().
149 .SS "void add_gline (long duration, const char * source, const char * reason, const char * hostmask)"
151 Referenced by Server::AddGLine().
152 .SS "void add_kline (long duration, const char * source, const char * reason, const char * hostmask)"
154 Referenced by Server::AddKLine().
155 .SS "void add_qline (long duration, const char * source, const char * reason, const char * nickname)"
157 Referenced by Server::AddQLine().
158 .SS "void add_zline (long duration, const char * source, const char * reason, const char * ipaddr)"
160 Referenced by Server::AddZLine().
161 .SS "void apply_lines ()"
163 .SS "bool del_eline (const char * hostmask)"
165 Referenced by Server::DelELine().
166 .SS "bool del_gline (const char * hostmask)"
168 Referenced by Server::DelGLine().
169 .SS "bool del_kline (const char * hostmask)"
171 Referenced by Server::DelKLine().
172 .SS "bool del_qline (const char * nickname)"
174 Referenced by Server::DelQLine().
175 .SS "bool del_zline (const char * ipaddr)"
177 Referenced by Server::DelZLine().
178 .SS "void expire_lines ()"
180 .SS "void gline_set_creation_time (char * host, time_t create_time)"
182 .SS "char* matches_exception (const char * host)"
184 .SS "char* matches_gline (const char * host)"
186 .SS "char* matches_kline (const char * host)"
188 .SS "char* matches_qline (const char * nick)"
190 .SS "char* matches_zline (const char * ipaddr)"
192 .SS "bool qline_make_global (const char * nickname)"
194 .SS "void qline_set_creation_time (char * nick, time_t create_time)"
196 .SS "void read_xline_defaults ()"
198 .SS "void stats_e (\fBuserrec\fP * user)"
200 .SS "void stats_g (\fBuserrec\fP * user)"
202 .SS "void stats_k (\fBuserrec\fP * user)"
204 .SS "void stats_q (\fBuserrec\fP * user)"
206 .SS "void stats_z (\fBuserrec\fP * user)"
208 .SS "void sync_xlines (\fBserverrec\fP * serv, char * tcp_host)"
210 .SS "bool zline_make_global (const char * ipaddr)"
212 .SS "void zline_set_creation_time (char * ip, time_t create_time)"
216 Generated automatically by Doxygen for InspIRCd from the source code.