From 03be04a9a2d86a4568d09d5e1689dd7ef37c863a Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 14:52:12 +0000 Subject: Added extra docs for new config system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2417 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/xline_8h-source.html | 181 ++++++++++++++++++----------------- 1 file changed, 93 insertions(+), 88 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 f60c2a20b..19224f400 100644 --- a/docs/module-doc/xline_8h-source.html +++ b/docs/module-doc/xline_8h-source.html @@ -37,94 +37,99 @@ 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 -00044 long duration; -00045 -00048 char source[256]; -00049 -00052 char reason[MAXBUF]; -00053 -00056 long n_matches; -00057 -00058 }; -00059 -00062 class KLine : public XLine -00063 { -00064 public: -00068 char hostmask[200]; -00069 }; -00070 -00073 class GLine : public XLine -00074 { -00075 public: -00079 char hostmask[200]; -00080 }; -00081 -00082 class ELine : public XLine -00083 { -00084 public: -00088 char hostmask[200]; -00089 }; -00090 -00093 class ZLine : public XLine -00094 { -00095 public: -00099 char ipaddr[40]; -00103 bool is_global; -00104 }; -00105 -00108 class QLine : public XLine -00109 { -00110 public: -00114 char nick[64]; -00118 bool is_global; -00119 }; -00120 -00121 void read_xline_defaults(); -00122 -00123 void add_gline(long duration, const char* source, const char* reason, const char* hostmask); -00124 void add_qline(long duration, const char* source, const char* reason, const char* nickname); -00125 void add_zline(long duration, const char* source, const char* reason, const char* ipaddr); -00126 void add_kline(long duration, const char* source, const char* reason, const char* hostmask); -00127 void add_eline(long duration, const char* source, const char* reason, const char* hostmask); -00128 -00129 bool del_gline(const char* hostmask); -00130 bool del_qline(const char* nickname); -00131 bool del_zline(const char* ipaddr); -00132 bool del_kline(const char* hostmask); -00133 bool del_eline(const char* hostmask); -00134 -00135 char* matches_qline(const char* nick); -00136 char* matches_gline(const char* host); -00137 char* matches_zline(const char* ipaddr); -00138 char* matches_kline(const char* host); -00139 char* matches_exception(const char* host); -00140 -00141 void expire_lines(); -00142 void apply_lines(); -00143 -00144 void stats_k(userrec* user); -00145 void stats_g(userrec* user); -00146 void stats_q(userrec* user); -00147 void stats_z(userrec* user); -00148 void stats_e(userrec* user); -00149 -00150 void gline_set_creation_time(char* host, time_t create_time); -00151 void qline_set_creation_time(char* nick, time_t create_time); -00152 void zline_set_creation_time(char* ip, time_t create_time); -00153 void eline_set_creation_time(char* host, time_t create_time); -00154 -00155 bool zline_make_global(const char* ipaddr); -00156 bool qline_make_global(const char* nickname); -00157 -00158 #endif -
Generated on Mon Dec 12 18:30:58 2005 for InspIRCd by  +00031 const int APPLY_GLINES = 1; +00032 const int APPLY_KLINES = 2; +00033 const int APPLY_QLINES = 4; +00034 const int APPLY_ZLINES = 8; +00035 const int APPLY_ALL = APPLY_GLINES | APPLY_KLINES | APPLY_QLINES | APPLY_ZLINES; +00036 +00039 class XLine : public classbase +00040 { +00041 public: +00042 +00045 time_t set_time; +00046 +00049 long duration; +00050 +00053 char source[256]; +00054 +00057 char reason[MAXBUF]; +00058 +00061 long n_matches; +00062 +00063 }; +00064 +00067 class KLine : public XLine +00068 { +00069 public: +00073 char hostmask[200]; +00074 }; +00075 +00078 class GLine : public XLine +00079 { +00080 public: +00084 char hostmask[200]; +00085 }; +00086 +00087 class ELine : public XLine +00088 { +00089 public: +00093 char hostmask[200]; +00094 }; +00095 +00098 class ZLine : public XLine +00099 { +00100 public: +00104 char ipaddr[40]; +00108 bool is_global; +00109 }; +00110 +00113 class QLine : public XLine +00114 { +00115 public: +00119 char nick[64]; +00123 bool is_global; +00124 }; +00125 +00126 void read_xline_defaults(); +00127 +00128 void add_gline(long duration, const char* source, const char* reason, const char* hostmask); +00129 void add_qline(long duration, const char* source, const char* reason, const char* nickname); +00130 void add_zline(long duration, const char* source, const char* reason, const char* ipaddr); +00131 void add_kline(long duration, const char* source, const char* reason, const char* hostmask); +00132 void add_eline(long duration, const char* source, const char* reason, const char* hostmask); +00133 +00134 bool del_gline(const char* hostmask); +00135 bool del_qline(const char* nickname); +00136 bool del_zline(const char* ipaddr); +00137 bool del_kline(const char* hostmask); +00138 bool del_eline(const char* hostmask); +00139 +00140 char* matches_qline(const char* nick); +00141 char* matches_gline(const char* host); +00142 char* matches_zline(const char* ipaddr); +00143 char* matches_kline(const char* host); +00144 char* matches_exception(const char* host); +00145 +00146 void expire_lines(); +00147 void apply_lines(const int What); +00148 +00149 void stats_k(userrec* user); +00150 void stats_g(userrec* user); +00151 void stats_q(userrec* user); +00152 void stats_z(userrec* user); +00153 void stats_e(userrec* user); +00154 +00155 void gline_set_creation_time(char* host, time_t create_time); +00156 void qline_set_creation_time(char* nick, time_t create_time); +00157 void zline_set_creation_time(char* ip, time_t create_time); +00158 void eline_set_creation_time(char* host, time_t create_time); +00159 +00160 bool zline_make_global(const char* ipaddr); +00161 bool qline_make_global(const char* nickname); +00162 +00163 #endif +
Generated on Wed Dec 14 14:49:17 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.2.3