Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

xline.h File Reference

#include <typeinfo>
#include <iostream>
#include <string>
#include <deque>
#include <sstream>
#include <vector>
#include "users.h"
#include "channels.h"

Include dependency graph for xline.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XLine
 XLine is the base class for ban lines such as G lines and K lines. More...
class  KLine
 KLine class. More...
class  GLine
 GLine class. More...
class  ELine
class  ZLine
 ZLine class. More...
class  QLine
 QLine class. More...

Functions

void read_xline_defaults ()
void add_gline (long duration, const char *source, const char *reason, const char *hostmask)
void add_qline (long duration, const char *source, const char *reason, const char *nickname)
void add_zline (long duration, const char *source, const char *reason, const char *ipaddr)
void add_kline (long duration, const char *source, const char *reason, const char *hostmask)
void add_eline (long duration, const char *source, const char *reason, const char *hostmask)
bool del_gline (const char *hostmask)
bool del_qline (const char *nickname)
bool del_zline (const char *ipaddr)
bool del_kline (const char *hostmask)
bool del_eline (const char *hostmask)
char * matches_qline (const char *nick)
char * matches_gline (const char *host)
char * matches_zline (const char *ipaddr)
char * matches_kline (const char *host)
char * matches_exception (const char *host)
void expire_lines ()
void apply_lines (const int What)
void stats_k (userrec *user)
void stats_g (userrec *user)
void stats_q (userrec *user)
void stats_z (userrec *user)
void stats_e (userrec *user)
void gline_set_creation_time (char *host, time_t create_time)
void qline_set_creation_time (char *nick, time_t create_time)
void zline_set_creation_time (char *ip, time_t create_time)
void eline_set_creation_time (char *host, time_t create_time)
bool zline_make_global (const char *ipaddr)
bool qline_make_global (const char *nickname)

Variables

const int APPLY_GLINES = 1
const int APPLY_KLINES = 2
const int APPLY_QLINES = 4
const int APPLY_ZLINES = 8
const int APPLY_ALL = APPLY_GLINES | APPLY_KLINES | APPLY_QLINES | APPLY_ZLINES


Function Documentation

void add_eline long  duration,
const char *  source,
const char *  reason,
const char *  hostmask
 

Referenced by Server::AddELine().

void add_gline long  duration,
const char *  source,
const char *  reason,
const char *  hostmask
 

Referenced by Server::AddGLine().

void add_kline long  duration,
const char *  source,
const char *  reason,
const char *  hostmask
 

Referenced by Server::AddKLine().

void add_qline long  duration,
const char *  source,
const char *  reason,
const char *  nickname
 

Referenced by Server::AddQLine().

void add_zline long  duration,
const char *  source,
const char *  reason,
const char *  ipaddr
 

Referenced by Server::AddZLine().

void apply_lines const int  What  ) 
 

bool del_eline const char *  hostmask  ) 
 

Referenced by Server::DelELine().

bool del_gline const char *  hostmask  ) 
 

Referenced by Server::DelGLine().

bool del_kline const char *  hostmask  ) 
 

Referenced by Server::DelKLine().

bool del_qline const char *  nickname  ) 
 

Referenced by Server::DelQLine().

bool del_zline const char *  ipaddr  ) 
 

Referenced by Server::DelZLine().

void eline_set_creation_time char *  host,
time_t  create_time
 

void expire_lines  ) 
 

void gline_set_creation_time char *  host,
time_t  create_time
 

char* matches_exception const char *  host  ) 
 

char* matches_gline const char *  host  ) 
 

char* matches_kline const char *  host  ) 
 

char* matches_qline const char *  nick  ) 
 

char* matches_zline const char *  ipaddr  ) 
 

bool qline_make_global const char *  nickname  ) 
 

void qline_set_creation_time char *  nick,
time_t  create_time
 

void read_xline_defaults  ) 
 

void stats_e userrec user  ) 
 

void stats_g userrec user  ) 
 

void stats_k userrec user  ) 
 

void stats_q userrec user  ) 
 

void stats_z userrec user  ) 
 

bool zline_make_global const char *  ipaddr  ) 
 

void zline_set_creation_time char *  ip,
time_t  create_time
 


Variable Documentation

const int APPLY_ALL = APPLY_GLINES | APPLY_KLINES | APPLY_QLINES | APPLY_ZLINES
 

Definition at line 35 of file xline.h.

const int APPLY_GLINES = 1
 

Definition at line 31 of file xline.h.

const int APPLY_KLINES = 2
 

Definition at line 32 of file xline.h.

const int APPLY_QLINES = 4
 

Definition at line 33 of file xline.h.

const int APPLY_ZLINES = 8
 

Definition at line 34 of file xline.h.


Generated on Wed Dec 14 14:49:28 2005 for InspIRCd by  doxygen 1.4.4-20050815