.TH "xline.h" 3 "15 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*- .ad l .nh .SH NAME xline.h \- .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include \fP .br \fC#include 'users.h'\fP .br \fC#include 'channels.h'\fP .br .SS "Classes" .in +1c .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 \fBKLine\fP" .br .RI "\fIKLine class. \fP" .ti -1c .RI "class \fBGLine\fP" .br .RI "\fIGLine class. \fP" .ti -1c .RI "class \fBELine\fP" .br .ti -1c .RI "class \fBZLine\fP" .br .RI "\fIZLine class. \fP" .ti -1c .RI "class \fBQLine\fP" .br .RI "\fIQLine 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 (const int What)" .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 "void \fBeline_set_creation_time\fP (char *host, 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 .in -1c .SS "Variables" .in +1c .ti -1c .RI "const int \fBAPPLY_GLINES\fP = 1" .br .ti -1c .RI "const int \fBAPPLY_KLINES\fP = 2" .br .ti -1c .RI "const int \fBAPPLY_QLINES\fP = 4" .br .ti -1c .RI "const int \fBAPPLY_ZLINES\fP = 8" .br .ti -1c .RI "const int \fBAPPLY_ALL\fP = \fBAPPLY_GLINES\fP | \fBAPPLY_KLINES\fP | \fBAPPLY_QLINES\fP | \fBAPPLY_ZLINES\fP" .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 (const int What)" .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 eline_set_creation_time (char * host, time_t create_time)" .PP .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 "bool zline_make_global (const char * ipaddr)" .PP .SS "void zline_set_creation_time (char * ip, time_t create_time)" .PP .SH "Variable Documentation" .PP .SS "const int \fBAPPLY_ALL\fP = \fBAPPLY_GLINES\fP | \fBAPPLY_KLINES\fP | \fBAPPLY_QLINES\fP | \fBAPPLY_ZLINES\fP" .PP Definition at line 35 of file xline.h. .SS "const int \fBAPPLY_GLINES\fP = 1" .PP Definition at line 31 of file xline.h. .SS "const int \fBAPPLY_KLINES\fP = 2" .PP Definition at line 32 of file xline.h. .SS "const int \fBAPPLY_QLINES\fP = 4" .PP Definition at line 33 of file xline.h. .SS "const int \fBAPPLY_ZLINES\fP = 8" .PP Definition at line 34 of file xline.h. .SH "Author" .PP Generated automatically by Doxygen for InspIRCd from the source code.