Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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:

Include dependency graph

Go to the source code of this file.

Compounds

class  GLine
 GLine class. More...

class  KLine
 KLine class. More...

class  QLine
 QLine class. More...

class  XLine
 XLine is the base class for ban lines such as G lines and K lines. More...

class  ZLine
 ZLine class. More...


Functions

void read_xline_defaults ()
void add_gline (long duration, char *source, char *reason, char *hostmask)
void add_qline (long duration, char *source, char *reason, char *nickname)
void add_zline (long duration, char *source, char *reason, char *ipaddr)
void add_kline (long duration, char *source, char *reason, char *hostmask)
bool del_gline (char *hostmask)
bool del_qline (char *nickname)
bool del_zline (char *ipaddr)
bool del_kline (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)
void expire_lines ()
void apply_lines ()
void stats_k (userrec *user)
void stats_g (userrec *user)
void stats_q (userrec *user)
void stats_z (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)
bool zline_make_global (char *ipaddr)
bool qline_make_global (char *nickname)
void sync_xlines (serverrec *serv, char *tcp_host)


Function Documentation

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

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

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

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

void apply_lines  
 

bool del_gline char *    hostmask
 

bool del_kline char *    hostmask
 

bool del_qline char *    nickname
 

bool del_zline char *    ipaddr
 

void expire_lines  
 

void gline_set_creation_time char *    host,
time_t    create_time
 

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 char *    nickname
 

void qline_set_creation_time char *    nick,
time_t    create_time
 

void read_xline_defaults  
 

void stats_g userrec   user
 

void stats_k userrec   user
 

void stats_q userrec   user
 

void stats_z userrec   user
 

void sync_xlines serverrec   serv,
char *    tcp_host
 

bool zline_make_global char *    ipaddr
 

void zline_set_creation_time char *    ip,
time_t    create_time
 


Generated on Thu Apr 29 16:30:42 2004 for InspIRCd by doxygen1.3-rc3