From 52899de0ff2d62ca0542b243c41626010bf62083 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Mar 2005 03:51:56 +0000 Subject: Documentation update git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@899 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/xline_8h-source.html | 213 +++++++++++++++++++---------------- 1 file changed, 114 insertions(+), 99 deletions(-) (limited to 'docs/module-doc/xline_8h-source.html') diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html index a2cd450b6..773d57429 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -1,108 +1,123 @@ -xline.h Source File +InspIRCd: xline.h Source File - -
-Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
-

xline.h

Go to the documentation of this file.
00001 #ifndef __XLINE_H
-00002 #define __XLINE_H
-00003 
-00004 // include the common header files
-00005 
-00006 #include <typeinfo>
-00007 #include <iostream>
-00008 #include <string>
-00009 #include <deque>
-00010 #include <sstream>
-00011 #include <vector>
-00012 #include "users.h"
-00013 #include "channels.h"
-00014 
-00015 
-00018 class XLine : public classbase
-00019 {
-00020   public:
+
+
+

xline.h

Go to the documentation of this file.
00001 /*       +------------------------------------+
+00002  *       | Inspire Internet Relay Chat Daemon |
+00003  *       +------------------------------------+
+00004  *
+00005  *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+00006  *                       E-mail:
+00007  *                <brain@chatspike.net>
+00008  *                <Craig@chatspike.net>
+00009  *     
+00010  * Written by Craig Edwards, Craig McLure, and others.
+00011  * This program is free but copyrighted software; see
+00012  *            the file COPYING for details.
+00013  *
+00014  * ---------------------------------------------------
+00015  */
+00016 
+00017 #ifndef __XLINE_H
+00018 #define __XLINE_H
+00019 
+00020 // include the common header files
 00021 
-00024         time_t set_time;
-00025         
-00028         long duration;
-00029         
-00032         char source[MAXBUF];
-00033         
-00036         char reason[MAXBUF];
-00037         
-00040         long n_matches;
+00022 #include <typeinfo>
+00023 #include <iostream>
+00024 #include <string>
+00025 #include <deque>
+00026 #include <sstream>
+00027 #include <vector>
+00028 #include "users.h"
+00029 #include "channels.h"
+00030 
+00031 
+00034 class XLine : public classbase
+00035 {
+00036   public:
+00037 
+00040         time_t set_time;
 00041         
-00042 };
-00043 
-00046 class KLine : public XLine
-00047 {
-00048   public:
-00052         char hostmask[MAXBUF];
-00053 };
-00054 
-00057 class GLine : public XLine
-00058 {
-00059   public:
-00063         char hostmask[MAXBUF];
-00064 };
-00065 
-00068 class ZLine : public XLine
-00069 {
-00070   public:
-00074         char ipaddr[MAXBUF];
-00078         bool is_global;
-00079 };
-00080 
-00083 class QLine : public XLine
-00084 {
-00085   public:
-00089         char nick[MAXBUF];
-00093         bool is_global;
-00094 };
-00095 
-00096 void read_xline_defaults();
-00097 
-00098 void add_gline(long duration, char* source, char* reason, char* hostmask);
-00099 void add_qline(long duration, char* source, char* reason, char* nickname);
-00100 void add_zline(long duration, char* source, char* reason, char* ipaddr);
-00101 void add_kline(long duration, char* source, char* reason, char* hostmask);
-00102 
-00103 bool del_gline(char* hostmask);
-00104 bool del_qline(char* nickname);
-00105 bool del_zline(char* ipaddr);
-00106 bool del_kline(char* hostmask);
-00107 
-00108 char* matches_qline(const char* nick);
-00109 char* matches_gline(const char* host);
-00110 char* matches_zline(const char* ipaddr);
-00111 char* matches_kline(const char* host);
-00112 
-00113 void expire_lines();
-00114 void apply_lines();
-00115 
-00116 void stats_k(userrec* user);
-00117 void stats_g(userrec* user);
-00118 void stats_q(userrec* user);
-00119 void stats_z(userrec* user);
-00120 
-00121 void gline_set_creation_time(char* host, time_t create_time);
-00122 void qline_set_creation_time(char* nick, time_t create_time);
-00123 void zline_set_creation_time(char* ip, time_t create_time);
-00124 
-00125 bool zline_make_global(char* ipaddr);
-00126 bool qline_make_global(char* nickname);
-00127 
-00128 void sync_xlines(serverrec* serv, char* tcp_host);
-00129 
-00130 #endif
-00131 
-00132 
-

Generated on Sun May 2 00:09:18 2004 for InspIRCd by +00044 long duration; +00045 +00048 char source[MAXBUF]; +00049 +00052 char reason[MAXBUF]; +00053 +00056 long n_matches; +00057 +00058 }; +00059 +00062 class KLine : public XLine +00063 { +00064 public: +00068 char hostmask[MAXBUF]; +00069 }; +00070 +00073 class GLine : public XLine +00074 { +00075 public: +00079 char hostmask[MAXBUF]; +00080 }; +00081 +00084 class ZLine : public XLine +00085 { +00086 public: +00090 char ipaddr[MAXBUF]; +00094 bool is_global; +00095 }; +00096 +00099 class QLine : public XLine +00100 { +00101 public: +00105 char nick[MAXBUF]; +00109 bool is_global; +00110 }; +00111 +00112 void read_xline_defaults(); +00113 +00114 void add_gline(long duration, char* source, char* reason, char* hostmask); +00115 void add_qline(long duration, char* source, char* reason, char* nickname); +00116 void add_zline(long duration, char* source, char* reason, char* ipaddr); +00117 void add_kline(long duration, char* source, char* reason, char* hostmask); +00118 +00119 bool del_gline(char* hostmask); +00120 bool del_qline(char* nickname); +00121 bool del_zline(char* ipaddr); +00122 bool del_kline(char* hostmask); +00123 +00124 char* matches_qline(const char* nick); +00125 char* matches_gline(const char* host); +00126 char* matches_zline(const char* ipaddr); +00127 char* matches_kline(const char* host); +00128 +00129 void expire_lines(); +00130 void apply_lines(); +00131 +00132 void stats_k(userrec* user); +00133 void stats_g(userrec* user); +00134 void stats_q(userrec* user); +00135 void stats_z(userrec* user); +00136 +00137 void gline_set_creation_time(char* host, time_t create_time); +00138 void qline_set_creation_time(char* nick, time_t create_time); +00139 void zline_set_creation_time(char* ip, time_t create_time); +00140 +00141 bool zline_make_global(char* ipaddr); +00142 bool qline_make_global(char* nickname); +00143 +00144 void sync_xlines(serverrec* serv, char* tcp_host); +00145 +00146 #endif +00147 +00148 +

Generated on Fri Mar 25 03:49:29 2005 for InspIRCd by -doxygen1.3-rc3
+doxygen +1.3.3 -- cgit v1.2.3