From 78a96055c428d1970ece93dfb01902ac0d1699bd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Apr 2004 22:03:32 +0000 Subject: New documentation to document user/channel mode handling git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@380 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/annotated.html | 5 +- docs/module-doc/base_8h-source.html | 4 +- docs/module-doc/base_8h.html | 4 +- docs/module-doc/channels_8cpp-source.html | 144 ++++-- docs/module-doc/channels_8cpp.html | 39 +- docs/module-doc/channels_8cpp__incl.gif | Bin 10514 -> 13398 bytes docs/module-doc/channels_8h-source.html | 210 ++++---- docs/module-doc/channels_8h.html | 23 +- docs/module-doc/channels_8h__incl.gif | Bin 6072 -> 7185 bytes docs/module-doc/classAdmin-members.html | 4 +- docs/module-doc/classAdmin.html | 8 +- docs/module-doc/classBanItem-members.html | 4 +- docs/module-doc/classBanItem.html | 6 +- docs/module-doc/classConfigReader-members.html | 4 +- docs/module-doc/classConfigReader.html | 62 +-- docs/module-doc/classConnectClass-members.html | 4 +- docs/module-doc/classConnectClass.html | 4 +- docs/module-doc/classExemptItem-members.html | 4 +- docs/module-doc/classExemptItem.html | 6 +- docs/module-doc/classExtMode-members.html | 12 +- docs/module-doc/classExtMode.html | 36 +- docs/module-doc/classExtMode__coll__graph.gif | Bin 6546 -> 6589 bytes docs/module-doc/classFileReader-members.html | 4 +- docs/module-doc/classFileReader.html | 98 ++-- docs/module-doc/classHostItem-members.html | 4 +- docs/module-doc/classHostItem.html | 20 +- docs/module-doc/classInviteItem-members.html | 4 +- docs/module-doc/classInviteItem.html | 6 +- docs/module-doc/classInvited-members.html | 4 +- docs/module-doc/classInvited.html | 4 +- docs/module-doc/classModeParameter-members.html | 21 + docs/module-doc/classModeParameter.html | 122 +++++ .../module-doc/classModeParameter__coll__graph.gif | Bin 0 -> 5787 bytes .../classModeParameter__inherit__graph.gif | Bin 0 -> 1974 bytes docs/module-doc/classModule-members.html | 4 +- docs/module-doc/classModule.html | 52 +- docs/module-doc/classModuleFactory-members.html | 4 +- docs/module-doc/classModuleFactory.html | 14 +- docs/module-doc/classServer-members.html | 6 +- docs/module-doc/classServer.html | 237 +++++---- docs/module-doc/classVersion-members.html | 4 +- docs/module-doc/classVersion.html | 8 +- docs/module-doc/classchanrec-members.html | 10 +- docs/module-doc/classchanrec.html | 281 +++++++--- docs/module-doc/classclassbase-members.html | 4 +- docs/module-doc/classclassbase.html | 35 +- docs/module-doc/classclassbase__inherit__graph.gif | Bin 22795 -> 24976 bytes docs/module-doc/classcommand__t-members.html | 4 +- docs/module-doc/classcommand__t.html | 4 +- docs/module-doc/classconnection-members.html | 4 +- docs/module-doc/classconnection.html | 4 +- docs/module-doc/classes.html | 16 +- docs/module-doc/classpacket-members.html | 4 +- docs/module-doc/classpacket.html | 4 +- docs/module-doc/classserverrec-members.html | 4 +- docs/module-doc/classserverrec.html | 4 +- docs/module-doc/classucrec-members.html | 4 +- docs/module-doc/classucrec.html | 18 +- docs/module-doc/classuserrec-members.html | 4 +- docs/module-doc/classuserrec.html | 36 +- docs/module-doc/connection_8h-source.html | 4 +- docs/module-doc/connection_8h.html | 4 +- docs/module-doc/ctables_8h-source.html | 4 +- docs/module-doc/ctables_8h.html | 4 +- docs/module-doc/doxygen.png | Bin 2912 -> 2351 bytes docs/module-doc/files.html | 4 +- docs/module-doc/functions.html | 44 +- docs/module-doc/globals.html | 16 +- docs/module-doc/graph_legend.html | 4 +- docs/module-doc/hierarchy.html | 5 +- docs/module-doc/inherit__graph__0.gif | Bin 28683 -> 31116 bytes docs/module-doc/inherits.html | 47 +- docs/module-doc/main.html | 4 +- docs/module-doc/modules_8cpp-source.html | 565 +++++++++++---------- docs/module-doc/modules_8cpp.html | 149 ++++-- docs/module-doc/modules_8h-source.html | 92 ++-- docs/module-doc/modules_8h.html | 22 +- docs/module-doc/namespaces.html | 17 + docs/module-doc/namespacestd.html | 19 + docs/module-doc/servers_8cpp-source.html | 4 +- docs/module-doc/servers_8cpp.html | 4 +- docs/module-doc/servers_8h-source.html | 4 +- docs/module-doc/servers_8h.html | 4 +- docs/module-doc/tree.html | 6 + docs/module-doc/users_8cpp-source.html | 30 +- docs/module-doc/users_8cpp.html | 12 +- docs/module-doc/users_8cpp__incl.gif | Bin 18472 -> 18857 bytes docs/module-doc/users_8h-source.html | 6 +- docs/module-doc/users_8h.html | 4 +- docs/module-doc/users_8h__incl.gif | Bin 6906 -> 7066 bytes 90 files changed, 1627 insertions(+), 1090 deletions(-) create mode 100644 docs/module-doc/classModeParameter-members.html create mode 100644 docs/module-doc/classModeParameter.html create mode 100644 docs/module-doc/classModeParameter__coll__graph.gif create mode 100644 docs/module-doc/classModeParameter__inherit__graph.gif create mode 100644 docs/module-doc/namespaces.html create mode 100644 docs/module-doc/namespacestd.html (limited to 'docs/module-doc') diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html index e983ceb9a..b509a5cd6 100644 --- a/docs/module-doc/annotated.html +++ b/docs/module-doc/annotated.html @@ -5,7 +5,7 @@
| Admin | Holds /ADMIN data This class contains the admin details of the local server |
| BanItem | A subclass of HostItem designed to hold channel bans (+b) |
| HostItem | Holds an entry for a ban list, exemption list, or invite list |
| Invited | Holds a channel name to which a user has been invited |
| InviteItem | A subclass of HostItem designed to hold channel invites (+I) |
| ModeParameter | Holds a custom parameter to a module-defined channel mode e.g |
| Module | Base class for all InspIRCd modules This class is the base class for InspIRCd modules |
| ModuleFactory | Instantiates classes inherited from Module This class creates a class inherited from type Module, using new |
| packet | |
| userrec | Holds all information about a user This class stores all information about a user connected to the irc server |
| Version | Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module |
1.3-rc3
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index a5b2eef50..2733b5b0a 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -5,7 +5,7 @@
00001 /* 00002 00003 @@ -29,7 +29,7 @@ 00028 00029 #endif 00030 -
1.3-rc3
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index eac9f9bae..ea2df315a 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -5,7 +5,7 @@
#include "inspircd_config.h"#include <time.h>
1.3-rc3
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index 0ad69366d..bd341295b 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -5,56 +5,108 @@
00001 #include "inspircd_config.h" 00002 #include "channels.h" 00003 #include "inspircd.h" 00004 #include <stdio.h> -00005 -00006 chanrec::chanrec() -00007 { -00008 strcpy(name,""); -00009 strcpy(custom_modes,""); -00010 strcpy(topic,""); -00011 strcpy(setby,""); -00012 strcpy(key,""); -00013 created = topicset = limit = 0; -00014 topiclock = noexternal = inviteonly = moderated = secret = c_private = false; -00015 } -00016 -00017 void chanrec::SetCustomMode(char mode,bool mode_on) -00018 { -00019 if (mode_on) { -00020 char m[3]; -00021 m[0] = mode; -00022 m[1] = '\0'; -00023 if (!strchr(this->custom_modes,mode)) -00024 { -00025 strncat(custom_modes,m,MAXMODES); -00026 } -00027 log(DEBUG,"Custom mode %c set",mode); -00028 } -00029 else { -00030 char temp[MAXMODES]; -00031 int count = 0; -00032 for (int q = 0; q < strlen(custom_modes); q++) { -00033 if (custom_modes[q] != mode) { -00034 temp[count++] = mode; -00035 } -00036 } -00037 temp[count] = '\0'; -00038 strncpy(custom_modes,temp,MAXMODES); -00039 log(DEBUG,"Custom mode %c removed",mode); -00040 } -00041 } -00042 -00043 void chanrec::SetCustomModeParam(char mode,char* parameter,bool mode_on) -00044 { -00045 } -00046 -00047 -00048 -
1.3-rc3
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index 557c5a021..0131eb1a5 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -5,24 +5,57 @@
#include "inspircd_config.h"#include "channels.h"#include "inspircd.h"#include <stdio.h>#include <string>#include <vector>Include dependency graph for channels.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | std |
Variables | |
| vector< ModeParameter > | custom_mode_params |
+
+
|
+
| + + | +
+
+ + + +Definition at line 10 of file channels.cpp. + +Referenced by chanrec::GetModeParameter(), and chanrec::SetCustomModeParam(). |
+
1.3-rc3
diff --git a/docs/module-doc/channels_8cpp__incl.gif b/docs/module-doc/channels_8cpp__incl.gif
index b81c64a1d..c08548480 100644
Binary files a/docs/module-doc/channels_8cpp__incl.gif and b/docs/module-doc/channels_8cpp__incl.gif differ
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index a91e1ac98..9f660ef79 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -5,7 +5,7 @@
00001 /* 00002 00003 @@ -15,107 +15,121 @@ 00007 #include "base.h" 00008 #include <time.h> 00009 #include <vector> -00010 -00011 #ifndef __CHANNELS_H__ -00012 #define __CHANNELS_H__ -00013 -00017 class HostItem : public classbase -00018 { -00019 public: -00020 time_t set_time; -00021 char set_by[NICKMAX]; -00022 char data[MAXBUF]; -00023 -00024 HostItem() { /* stub */ } -00025 virtual ~HostItem() { /* stub */ } -00026 }; -00027 -00028 // banlist is inherited from HostList mainly for readability -00029 // reasons only -00030 -00033 class BanItem : public HostItem -00034 { -00035 }; -00036 -00037 // same with this... -00038 -00041 class ExemptItem : public HostItem -00042 { -00043 }; -00044 -00045 // and this... -00046 -00049 class InviteItem : public HostItem -00050 { -00051 }; -00052 +00010 #include <string> +00011 +00012 #ifndef __CHANNELS_H__ +00013 #define __CHANNELS_H__ +00014 +00018 class HostItem : public classbase +00019 { +00020 public: +00021 time_t set_time; +00022 char set_by[NICKMAX]; +00023 char data[MAXBUF]; +00024 +00025 HostItem() { /* stub */ } +00026 virtual ~HostItem() { /* stub */ } +00027 }; +00028 +00029 // banlist is inherited from HostList mainly for readability +00030 // reasons only +00031 +00034 class BanItem : public HostItem +00035 { +00036 }; +00037 +00038 // same with this... +00039 +00042 class ExemptItem : public HostItem +00043 { +00044 }; +00045 +00046 // and this... +00047 +00050 class InviteItem : public HostItem +00051 { +00052 }; 00053 -00056 typedef std::vector<BanItem> BanList; -00057 -00060 typedef std::vector<ExemptItem> ExemptList; -00061 -00064 typedef std::vector<InviteItem> InviteList; -00065 -00070 class chanrec : public classbase -00071 { -00072 public: -00075 char name[CHANMAX]; /* channel name */ -00079 char custom_modes[MAXMODES]; /* modes handled by modules */ -00083 char topic[MAXBUF]; -00086 time_t created; -00090 time_t topicset; -00094 char setby[NICKMAX]; -00095 -00099 long limit; -00100 -00104 char key[32]; -00105 -00108 short int topiclock; -00109 -00112 short int noexternal; -00113 -00116 short int inviteonly; -00117 -00120 short int moderated; -00121 -00125 short int secret; -00126 -00130 short int c_private; +00054 +00059 class ModeParameter : public classbase +00060 { +00061 public: +00062 char mode; +00063 char parameter[MAXBUF]; +00064 char channel[CHANMAX]; +00065 }; +00066 +00069 typedef std::vector<BanItem> BanList; +00070 +00073 typedef std::vector<ExemptItem> ExemptList; +00074 +00077 typedef std::vector<InviteItem> InviteList; +00078 +00083 class chanrec : public classbase +00084 { +00085 public: +00088 char name[CHANMAX]; /* channel name */ +00092 char custom_modes[MAXMODES]; /* modes handled by modules */ +00093 +00097 char topic[MAXBUF]; +00100 time_t created; +00104 time_t topicset; +00108 char setby[NICKMAX]; +00109 +00113 long limit; +00114 +00118 char key[32]; +00119 +00122 short int topiclock; +00123 +00126 short int noexternal; +00127 +00130 short int inviteonly; 00131 -00134 BanList bans; +00134 short int moderated; 00135 -00138 void SetCustomMode(char mode,bool mode_on); -00139 -00142 void SetCustomModeParam(char mode,char* parameter,bool mode_on); -00143 -00146 chanrec(); -00147 -00148 virtual ~chanrec() { /* stub */ } -00149 }; -00150 -00151 /* used to hold a channel and a users modes on that channel, e.g. +v, +h, +o -00152 * needs to come AFTER struct chanrec */ +00139 short int secret; +00140 +00144 short int c_private; +00145 +00148 BanList bans; +00149 +00152 void SetCustomMode(char mode,bool mode_on); 00153 -00154 #define UCMODE_OP 1 -00155 #define UCMODE_VOICE 2 -00156 #define UCMODE_HOP 4 -00157 #define UCMODE_PROTECT 8 -00158 #define UCMODE_FOUNDER 16 -00159 -00165 class ucrec : public classbase -00166 { -00167 public: -00171 long uc_modes; -00172 -00176 chanrec *channel; -00177 -00178 ucrec() { /* stub */ } -00179 virtual ~ucrec() { /* stub */ } -00180 }; -00181 -00182 #endif -00183 -
1.3-rc3
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index c68dc1bfa..0c462932c 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -5,11 +5,12 @@
#include "inspircd_config.h"#include "base.h"#include <time.h>#include <vector>#include <string>Include dependency graph for channels.h:

-Definition at line 158 of file channels.h. +Definition at line 184 of file channels.h.
@@ -101,7 +104,7 @@ Definition at line 158 o
-Definition at line 156 of file channels.h. +Definition at line 182 of file channels.h.
@@ -125,7 +128,7 @@ Definition at line 156 o
-Definition at line 154 of file channels.h. +Definition at line 180 of file channels.h.
@@ -149,7 +152,7 @@ Definition at line 154 o
-Definition at line 157 of file channels.h. +Definition at line 183 of file channels.h.
@@ -173,7 +176,7 @@ Definition at line 157 o
-Definition at line 155 of file channels.h. +Definition at line 181 of file channels.h.
-Definition at line 56 of file channels.h. +Definition at line 69 of file channels.h.
@@ -226,7 +229,7 @@ Holds a complete exempt list.
-Definition at line 60 of file channels.h. +Definition at line 73 of file channels.h.
@@ -252,10 +255,10 @@ Holds a complete invite list.
-Definition at line 64 of file channels.h. +Definition at line 77 of file channels.h. -
1.3-rc3
diff --git a/docs/module-doc/channels_8h__incl.gif b/docs/module-doc/channels_8h__incl.gif
index f80dd2a82..a339b02a0 100644
Binary files a/docs/module-doc/channels_8h__incl.gif and b/docs/module-doc/channels_8h__incl.gif differ
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 3019adbd4..105871e3c 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -5,7 +5,7 @@
| Admin(std::string name, std::string email, std::string nick) | Admin | |
| age | classbase | |
| Name | Admin | |
| Nick | Admin | |
| ~classbase() | classbase | [inline] |
1.3-rc3
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 062a52a09..6ead4dc48 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -5,7 +5,7 @@
@@ -79,9 +79,9 @@ Definition at line 78 of
-Definition at line 91 of file modules.cpp. +Definition at line 105 of file modules.cpp.
-
00091 : Name(name), Email(email), Nick(nick) { }; + @@ -160,7 +160,7 @@ Definition at line 81 of-
The documentation for this class was generated from the following files:
1.3-rc3
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index a1e49d34b..195b7fd56 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -5,7 +5,7 @@
| age | classbase | |
| classbase() | classbase | [inline] |
| set_time | HostItem | |
| ~classbase() | classbase | [inline] |
| ~HostItem() | HostItem | [inline, virtual] |
1.3-rc3
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index 23950eb26..d98e411df 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -5,7 +5,7 @@
@@ -29,9 +29,9 @@ A subclass of HostItem designed to h
-Definition at line 33 of file channels.h.
1.3-rc3
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 62785b854..db7c4e4e1 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -5,7 +5,7 @@
| age | classbase | |
| classbase() | classbase | [inline] |
| Verify() | ConfigReader | |
| ~classbase() | classbase | [inline] |
| ~ConfigReader() | ConfigReader |
1.3-rc3
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 5d18c102f..35e957755 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -5,7 +5,7 @@
@@ -45,7 +45,7 @@ It may either be instantiated with one parameter or none. Constructing the class
-Definition at line 357 of file modules.h.
This constructor initialises the ConfigReader class to read a user-specified config file
-Definition at line 247 of file modules.cpp. +Definition at line 276 of file modules.cpp.
-
00247 : fname(filename) { }; +@@ -150,10 +150,10 @@ Default destructor.00276 : fname(filename) { };This method destroys the ConfigReader class.
-Definition at line 242 of file modules.cpp. +Definition at line 271 of file modules.cpp.
-
00243 { -00244 } +@@ -188,13 +188,13 @@ Counts the number of times a given tag appears in the config file.00272 { +00273 }This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of ConfigReader::ReadValue to loop through all copies of a multiple instance tag.
-Definition at line 257 of file modules.cpp. +Definition at line 286 of file modules.cpp.
-References fname. +References fname.
-
00258 { -00259 return EnumConf(fname.c_str(),tag.c_str()); -00260 } +@@ -243,15 +243,15 @@ Retrieves a value from the config file.00287 { +00288 return EnumConf(fname.c_str(),tag.c_str()); +00289 }This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.
-Definition at line 249 of file modules.cpp. +Definition at line 278 of file modules.cpp.
-References fname. +References fname.
-
00250 { -00251 char val[MAXBUF]; -00252 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val); -00253 return val; -00254 } +@@ -284,11 +284,11 @@ Returns true if a config file is valid.00279 { +00280 char val[MAXBUF]; +00281 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val); +00282 return val; +00283 }This method is unimplemented and will always return true.
-Definition at line 263 of file modules.cpp. +Definition at line 292 of file modules.cpp.
-
00264 { -00265 return true; -00266 } +-@@ -316,14 +316,14 @@ The filename of the configuration file, as set by the constructor.00293 { +00294 return true; +00295 }
-Definition at line 362 of file modules.h. +Definition at line 363 of file modules.h.
-Referenced by ConfigReader(), Enumerate(), and ReadValue(). +Referenced by ConfigReader(), Enumerate(), and ReadValue().
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:11 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:24 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html index 5b5d44ad6..77f62e9fe 100644 --- a/docs/module-doc/classConnectClass-members.html +++ b/docs/module-doc/classConnectClass-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersConnectClass Member List
This is the complete list of members for ConnectClass, including all inherited members.
age classbase @@ -13,7 +13,7 @@ classbase() classbase [inline]pass ConnectClass type ConnectClass - ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:12 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:25 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html index b7a746afe..e2aa448a1 100644 --- a/docs/module-doc/classConnectClass.html +++ b/docs/module-doc/classConnectClass.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersConnectClass Class Reference
Holds information relevent to <connect allow> and <connect deny> tags in the config file. More...@@ -106,7 +106,7 @@ Definition at line 37 of fi
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:12 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:25 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html index d6b71ff1f..801052825 100644 --- a/docs/module-doc/classExemptItem-members.html +++ b/docs/module-doc/classExemptItem-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersExemptItem Member List
This is the complete list of members for ExemptItem, including all inherited members.
age classbase @@ -15,7 +15,7 @@ classbase() classbase [inline]set_time HostItem ~classbase() classbase [inline]- ~HostItem() HostItem [inline, virtual]
Generated on Sat Apr 3 16:36:13 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:26 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html index 6505bbfe4..138d32363 100644 --- a/docs/module-doc/classExemptItem.html +++ b/docs/module-doc/classExemptItem.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersExemptItem Class Reference
A subclass of HostItem designed to hold channel exempts (+e). More...@@ -29,9 +29,9 @@ A subclass of HostItem designed to h
-Definition at line 41 of file channels.h.
The documentation for this class was generated from the following file:+Definition at line 42 of file channels.h.
Generated on Sat Apr 3 16:36:13 2004 for InspIRCd by +
The documentation for this class was generated from the following file: -
Generated on Sun Apr 4 23:02:26 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html index 3dafbef26..d7d9ab339 100644 --- a/docs/module-doc/classExtMode-members.html +++ b/docs/module-doc/classExtMode-members.html @@ -5,15 +5,15 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersExtMode Member List
This is the complete list of members for ExtMode, including all inherited members.-
- default_on ExtMode + ExtMode(char mc, int ty, bool d_on, int p_on, int p_off) ExtMode [inline]ExtMode(char mc, int ty, bool oper, int p_on, int p_off) ExtMode [inline]- modechar ExtMode - params_when_off ExtMode + params_when_on ExtMode + needsoper ExtMode + params_when_off ExtMode params_when_on ExtMode - type ExtMode
Generated on Sat Apr 3 16:36:13 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:26 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html index 6ceacba06..805cd2f47 100644 --- a/docs/module-doc/classExtMode.html +++ b/docs/module-doc/classExtMode.html @@ -5,18 +5,18 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersExtMode Class Reference
Collaboration diagram for ExtMode:[legend] List of all members.
- Public Member Functions
+ ExtMode (char mc, int ty, bool d_on, int p_on, int p_off) ExtMode (char mc, int ty, bool oper, int p_on, int p_off) Public Attributes
char modechar - int type - bool default_on - int params_when_on + int params_when_off + int params_when_on + int params_when_off bool needsoper Constructor & Destructor Documentation
@@ -40,7 +40,7 @@
bool -d_on, +oper, @@ -76,18 +76,18 @@ Definition at line 25 of file modules.cpp.
-
00025 : modechar(mc), type(ty), default_on(d_on), params_when_on(p_on), params_when_off(p_off) { }; +00025 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };Member Data Documentation
-
-
@@ -102,16 +102,16 @@ Definition at line 25 o
- bool ExtMode::default_on + char ExtMode::modechar
-Definition at line 22 of file modules.cpp. +Definition at line 20 of file modules.cpp.
-
@@ -126,10 +126,10 @@ Definition at line 22 o
- char ExtMode::modechar + bool ExtMode::needsoper
-Definition at line 20 of file modules.cpp. +Definition at line 24 of file modules.cpp.
-
@@ -150,10 +150,10 @@ Definition at line 20 o +Definition at line 23 of file modules.cpp.
-Definition at line 24 of file modules.cpp.
@@ -174,7 +174,7 @@ Definition at line 24 o +Definition at line 22 of file modules.cpp.
-Definition at line 23 of file modules.cpp.
@@ -203,7 +203,7 @@ Definition at line 21 o
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:13 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:26 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classExtMode__coll__graph.gif b/docs/module-doc/classExtMode__coll__graph.gif index e0835abae..ef5b3cc88 100644 Binary files a/docs/module-doc/classExtMode__coll__graph.gif and b/docs/module-doc/classExtMode__coll__graph.gif differ diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html index 5446891c7..3672cdcf5 100644 --- a/docs/module-doc/classFileReader-members.html +++ b/docs/module-doc/classFileReader-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersFileReader Member List
This is the complete list of members for FileReader, including all inherited members.
age classbase @@ -18,7 +18,7 @@ classbase() classbase [inline]LoadFile(std::string filename) FileReader ~classbase() classbase [inline]- ~FileReader() FileReader
Generated on Sat Apr 3 16:36:14 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index b44d63b9b..efd44913b 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersFileReader Class Reference
Caches a text file into memory and can be used to retrieve lines from it. More...@@ -45,7 +45,7 @@ This class contains methods for read-only manipulation of a text file in memory.
-Definition at line 402 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 403 of file modules.h.Constructor & Destructor Documentation
@@ -112,15 +112,15 @@ Secondary constructor.
@@ -75,10 +75,10 @@ Default constructor. This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.
-Definition at line 276 of file modules.cpp. +Definition at line 305 of file modules.cpp.
-
00277 { -00278 } +00306 { +00307 }This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.
-Definition at line 269 of file modules.cpp. +Definition at line 298 of file modules.cpp.
-References fc, and file_cache. +References fc, and file_cache.
-
00270 { -00271 file_cache c; -00272 readfile(c,filename.c_str()); -00273 this->fc = c; -00274 } +@@ -153,10 +153,10 @@ Default destructor.00299 { +00300 file_cache c; +00301 readfile(c,filename.c_str()); +00302 this->fc = c; +00303 }This deletes the memory allocated to the file.
-Definition at line 288 of file modules.cpp. +Definition at line 317 of file modules.cpp.
-
00289 { -00290 } +@@ -190,20 +190,20 @@ Retrieve one line from the file.00318 { +00319 }This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.
-Definition at line 292 of file modules.cpp. +Definition at line 321 of file modules.cpp.
-References fc. +References fc.
-
00293 { -00294 if (fc.size() == 0) -00295 { -00296 return(false); -00297 } -00298 else -00299 { -00300 return(true); -00301 } -00302 } +@@ -236,13 +236,13 @@ Returns the size of the file in lines.00322 { +00323 if (fc.size() == 0) +00324 { +00325 return(false); +00326 } +00327 else +00328 { +00329 return(true); +00330 } +00331 }This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.
-Definition at line 311 of file modules.cpp. +Definition at line 340 of file modules.cpp.
-References fc. +References fc.
-
00312 { -00313 return fc.size(); -00314 } +@@ -274,15 +274,15 @@ References fc.00341 { +00342 return fc.size(); +00343 }
-Definition at line 304 of file modules.cpp. +Definition at line 333 of file modules.cpp.
-References fc. +References fc.
-
00305 { -00306 if ((x<0) || (x>fc.size())) -00307 return ""; -00308 return fc[x]; -00309 } + @@ -316,15 +316,15 @@ Used to load a file.This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, FileReader::FileSize returns 0.
-Definition at line 280 of file modules.cpp. +Definition at line 309 of file modules.cpp.
-References fc, and file_cache. +References fc, and file_cache.
-
00281 { -00282 file_cache c; -00283 readfile(c,filename.c_str()); -00284 this->fc = c; -00285 } +@@ -350,14 +350,14 @@ References fc, and00310 { +00311 file_cache c; +00312 readfile(c,filename.c_str()); +00313 this->fc = c; +00314 }-Definition at line 404 of file modules.h. +Definition at line 405 of file modules.h.
-Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile(). +Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
The documentation for this class was generated from the following files: -
Generated on Sat Apr 3 16:36:14 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html index 258e571c1..8640f62fe 100644 --- a/docs/module-doc/classHostItem-members.html +++ b/docs/module-doc/classHostItem-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersHostItem Member List
This is the complete list of members for HostItem, including all inherited members.
age classbase @@ -15,7 +15,7 @@ classbase() classbase [inline]set_time HostItem ~classbase() classbase [inline]- ~HostItem() HostItem [inline, virtual]
Generated on Sat Apr 3 16:36:14 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html index 6eb77b03f..727330253 100644 --- a/docs/module-doc/classHostItem.html +++ b/docs/module-doc/classHostItem.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersHostItem Class Reference
Holds an entry for a ban list, exemption list, or invite list. More...@@ -39,7 +39,7 @@ This class contains a single element in a channel list, such as a banlist.
-Definition at line 17 of file channels.h.
Constructor & Destructor Documentation
+Definition at line 18 of file channels.h.Constructor & Destructor Documentation
@@ -100,9 +100,9 @@ Definition at line 24 of
@@ -67,9 +67,9 @@ Definition at line 17 of
-Definition at line 24 of file channels.h. +Definition at line 25 of file channels.h.
-
00024 { /* stub */ } +00025 { /* stub */ }
-Definition at line 25 of file channels.h. +Definition at line 26 of file channels.h.
-
00025 { /* stub */ } +-@@ -128,7 +128,7 @@ Definition at line 25 of00026 { /* stub */ }
-Definition at line 22 of file channels.h. +Definition at line 23 of file channels.h.
@@ -152,7 +152,7 @@ Definition at line 22 of
-Definition at line 21 of file channels.h. +Definition at line 22 of file channels.h.
@@ -176,12 +176,12 @@ Definition at line 21 of
-Definition at line 20 of file channels.h. +Definition at line 21 of file channels.h.
The documentation for this class was generated from the following file:
Generated on Sat Apr 3 16:36:14 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html index d778e54ea..8682a2a88 100644 --- a/docs/module-doc/classInviteItem-members.html +++ b/docs/module-doc/classInviteItem-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInviteItem Member List
This is the complete list of members for InviteItem, including all inherited members.
age classbase @@ -15,7 +15,7 @@ classbase() classbase [inline]set_time HostItem ~classbase() classbase [inline]- ~HostItem() HostItem [inline, virtual]
Generated on Sat Apr 3 16:36:16 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:28 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html index b4914ae85..c44e7d155 100644 --- a/docs/module-doc/classInviteItem.html +++ b/docs/module-doc/classInviteItem.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInviteItem Class Reference
A subclass of HostItem designed to hold channel invites (+I). More...@@ -29,9 +29,9 @@ A subclass of HostItem designed to h
-Definition at line 49 of file channels.h.
The documentation for this class was generated from the following file:+Definition at line 50 of file channels.h.
Generated on Sat Apr 3 16:36:16 2004 for InspIRCd by +
The documentation for this class was generated from the following file: -
Generated on Sun Apr 4 23:02:28 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html index f6bed4ba1..1b3b9ee0d 100644 --- a/docs/module-doc/classInvited-members.html +++ b/docs/module-doc/classInvited-members.html @@ -5,13 +5,13 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInvited Member List
This is the complete list of members for Invited, including all inherited members.
age classbase channel Invited classbase() classbase [inline]- ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:15 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html index 0ce610b4f..f541ac698 100644 --- a/docs/module-doc/classInvited.html +++ b/docs/module-doc/classInvited.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInvited Class Reference
Holds a channel name to which a user has been invited. More...@@ -58,7 +58,7 @@ Referenced by userrec::Invite
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:15 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:27 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html new file mode 100644 index 000000000..c2fd50b12 --- /dev/null +++ b/docs/module-doc/classModeParameter-members.html @@ -0,0 +1,21 @@ + + +
Member List + + + ++Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +ModeParameter Member List
This is the complete list of members for ModeParameter, including all inherited members.+
+ age classbase + channel ModeParameter + classbase() classbase [inline]+ mode ModeParameter + parameter ModeParameter + ~classbase() classbase [inline]
Generated on Sun Apr 4 23:02:29 2004 for InspIRCd by + +1.3-rc3 + + diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html new file mode 100644 index 000000000..3acbd039e --- /dev/null +++ b/docs/module-doc/classModeParameter.html @@ -0,0 +1,122 @@ + + +
ModeParameter class Reference + + + ++Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +ModeParameter Class Reference
Holds a custom parameter to a module-defined channel mode e.g. +More... ++
#include <channels.h>++Inheritance diagram for ModeParameter:
+ + [legend] Collaboration diagram for ModeParameter:+ + [legend] List of all members.+
++ + Public Attributes
+ char mode + char parameter [MAXBUF] + char channel [CHANMAX] Detailed Description
+Holds a custom parameter to a module-defined channel mode e.g. ++for +L this would hold the channel name. +
+ +
+Definition at line 59 of file channels.h.
Member Data Documentation
++
+
++ ++ ++
++ char ModeParameter::channel[CHANMAX] + +
++ ++ + ++ + ++ +
+Definition at line 64 of file channels.h. +
+Referenced by chanrec::SetCustomModeParam().
+
+
++ ++ ++
++ char ModeParameter::mode + +
++ ++ + ++ + ++ +
+Definition at line 62 of file channels.h. +
+Referenced by chanrec::SetCustomModeParam().
+
+
++ ++ ++
++ char ModeParameter::parameter[MAXBUF] + +
++ ++ + ++ + ++ +
+Definition at line 63 of file channels.h. +
+Referenced by chanrec::SetCustomModeParam().
The documentation for this class was generated from the following file: +
Generated on Sun Apr 4 23:02:29 2004 for InspIRCd by + +1.3-rc3 + + diff --git a/docs/module-doc/classModeParameter__coll__graph.gif b/docs/module-doc/classModeParameter__coll__graph.gif new file mode 100644 index 000000000..b9885c621 Binary files /dev/null and b/docs/module-doc/classModeParameter__coll__graph.gif differ diff --git a/docs/module-doc/classModeParameter__inherit__graph.gif b/docs/module-doc/classModeParameter__inherit__graph.gif new file mode 100644 index 000000000..af51dacf4 Binary files /dev/null and b/docs/module-doc/classModeParameter__inherit__graph.gif differ diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html index 8bb51c762..108473e0a 100644 --- a/docs/module-doc/classModule-members.html +++ b/docs/module-doc/classModule-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersModule Member List
This is the complete list of members for Module, including all inherited members.
age classbase @@ -23,7 +23,7 @@ classbase() classbase [inline]OnUserQuit(userrec *user) Module [virtual]~classbase() classbase [inline]- ~Module() Module [virtual]
Generated on Sat Apr 3 16:36:16 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:29 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index 2a212a72e..3f7a50405 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersModule Class Reference
Base class for all InspIRCd modules This class is the base class for InspIRCd modules. More...@@ -86,9 +86,9 @@ Default constructor creates a module class.
-Definition at line 93 of file modules.cpp. +Definition at line 107 of file modules.cpp.
-
00093 { } +@@ -121,9 +121,9 @@ Default destructor destroys a module class.00107 { }
-Definition at line 94 of file modules.cpp. +Definition at line 108 of file modules.cpp.
-
00094 { } +@@ -157,9 +157,9 @@ Returns the version number of a Module.00108 { }The method should return a Version object with its version information assigned via Version::Version
-Definition at line 105 of file modules.cpp. +Definition at line 119 of file modules.cpp.
-
00105 { return Version(1,0,0,0); } +@@ -274,9 +274,9 @@ Called whenever an extended mode is to be processed.00119 { return Version(1,0,0,0); }The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with Server::AddExtendedMode If the mode is not a channel mode, chanrec* chan is null, and should not be read from or written to.
-Definition at line 104 of file modules.cpp. +Definition at line 118 of file modules.cpp.
-
00104 { } +@@ -310,9 +310,9 @@ Called after a packet is received from another irc server.00118 { }The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.
-Definition at line 100 of file modules.cpp. +Definition at line 114 of file modules.cpp.
-
00100 { } +@@ -346,9 +346,9 @@ Called before a packet is transmitted across the irc network between two irc ser00114 { }The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.
-Definition at line 99 of file modules.cpp. +Definition at line 113 of file modules.cpp.
-
00099 { } +@@ -381,9 +381,9 @@ Called on rehash.00113 { }This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.
-Definition at line 101 of file modules.cpp. +Definition at line 115 of file modules.cpp.
-
00101 { } +@@ -426,9 +426,9 @@ Called when a raw command is transmitted or received.00115 { }This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed.
-Definition at line 102 of file modules.cpp. +Definition at line 116 of file modules.cpp.
-
00102 { } +@@ -462,9 +462,9 @@ Called when a user connects.00116 { }The details of the connecting user are available to you in the parameter userrec *user
-Definition at line 95 of file modules.cpp. +Definition at line 109 of file modules.cpp.
-
00095 { } +@@ -507,9 +507,9 @@ Called when a user joins a channel.00109 { }The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel
-Definition at line 97 of file modules.cpp. +Definition at line 111 of file modules.cpp.
-
00097 { } +@@ -552,9 +552,9 @@ Called when a user parts a channel.00111 { }The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel
-Definition at line 98 of file modules.cpp. +Definition at line 112 of file modules.cpp.
-
00098 { } +@@ -588,15 +588,15 @@ Called when a user quits.00112 { }The details of the exiting user are available to you in the parameter userrec *user
-Definition at line 96 of file modules.cpp. +Definition at line 110 of file modules.cpp.
-
00096 { } +-00110 { }
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:16 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:29 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html index c978d4158..dd7c5a1cb 100644 --- a/docs/module-doc/classModuleFactory-members.html +++ b/docs/module-doc/classModuleFactory-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersModuleFactory Member List
This is the complete list of members for ModuleFactory, including all inherited members.
age classbase @@ -13,7 +13,7 @@ classbase() classbase [inline]ModuleFactory() ModuleFactory [inline]~classbase() classbase [inline]- ~ModuleFactory() ModuleFactory [inline, virtual]
Generated on Sat Apr 3 16:36:17 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:30 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html index 95eeb5b0d..c880edcd0 100644 --- a/docs/module-doc/classModuleFactory.html +++ b/docs/module-doc/classModuleFactory.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersModuleFactory Class Reference
Instantiates classes inherited from Module This class creates a class inherited from type Module, using new. More...@@ -34,7 +34,7 @@ This is to allow for modules to create many different variants of
-Definition at line 448 of file modules.h.
Constructor & Destructor Documentation
+Definition at line 449 of file modules.h.Constructor & Destructor Documentation
@@ -95,9 +95,9 @@ Definition at line 451 of
@@ -62,9 +62,9 @@ Definition at line 448 of
-Definition at line 451 of file modules.h. +Definition at line 452 of file modules.h.
-
00451 { } +00452 { }
-Definition at line 452 of file modules.h. +Definition at line 453 of file modules.h.
-
00452 { } +@@ -134,7 +134,7 @@ Your inherited class of ModuleFactory must return a pointer to your modules.h -00453 { }
Generated on Sat Apr 3 16:36:17 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:30 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html index c1233c02a..ed3ed4091 100644 --- a/docs/module-doc/classServer-members.html +++ b/docs/module-doc/classServer-members.html @@ -5,10 +5,10 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersServer Member List
This is the complete list of members for Server, including all inherited members.
- AddCommand(char *cmd, handlerfunc f, char flags, int minparams) Server [virtual]+ AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off) Server [virtual]AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) Server [virtual]age classbase ChanMode(userrec *User, chanrec *Chan) Server [virtual]@@ -32,7 +32,7 @@ classbase() classbase [inline]Server() Server ~classbase() classbase [inline]- ~Server() Server [virtual]
Generated on Sat Apr 3 16:36:18 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:31 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html index aaef1907f..bd4fd72ff 100644 --- a/docs/module-doc/classServer.html +++ b/docs/module-doc/classServer.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersServer Class Reference
Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers. More...@@ -60,7 +60,7 @@ Inheritance diagram for Server:
virtual Admin GetAdmin () - Returns the information of the server as returned by the /ADMIN command. + virtual bool AddExtendedMode (char modechar, int type, bool default_on, int params_when_on, int params_when_off) virtual bool AddExtendedMode (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) Adds an extended mode letter which is parsed by a module This allows modules to add extra mode letters, e.g. virtual void AddCommand (char *cmd, handlerfunc f, char flags, int minparams) @@ -104,10 +104,10 @@ Default constructor. Adds a command to the command table. Creates a Server object.
-Definition at line 111 of file modules.cpp. +Definition at line 125 of file modules.cpp.
-
00112 { -00113 } +@@ -140,10 +140,10 @@ Default destructor.00126 { +00127 }Destroys a Server object.
-Definition at line 115 of file modules.cpp. +Definition at line 129 of file modules.cpp.
-
00116 { -00117 } +@@ -201,13 +201,13 @@ This allows modules to add extra commands into the command table. You must place typedef void (handlerfunc) (char**, int, userrec*); ... void handle_kill(char **parameters, int pcnt, userrec *user)00130 { +00131 }When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'.
-Definition at line 129 of file modules.cpp. +Definition at line 143 of file modules.cpp.
References createcommand().
-
00130 { -00131 createcommand(cmd,f,flags,minparams); -00132 } +@@ -232,7 +232,7 @@ References createcommand().00144 { +00145 createcommand(cmd,f,flags,minparams); +00146 }bool -default_on, +requires_oper, @@ -317,11 +332,11 @@ Attempts to look up a user's privilages on a channel. @@ -266,15 +266,30 @@ References createcommand(). Adds an extended mode letter which is parsed by a module This allows modules to add extra mode letters, e.g.
-+x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. default_on is true if the mode is to be applied to default connections. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +b, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. -
-Definition at line 230 of file modules.cpp. -
-References DoAddExtendedMode(). -
-
00231 { -00232 return DoAddExtendedMode(modechar,type,default_on,params_when_on,params_when_off); -00233 } ++x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects. ++Definition at line 244 of file modules.cpp. +
+References DoAddExtendedMode(), MT_CLIENT, and MT_SERVER. +
+
00245 { +00246 if (type == MT_SERVER) +00247 { +00248 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); +00249 return false; +00250 } +00251 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +00252 { +00253 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); +00254 return false; +00255 } +00256 if ((params_when_on>1) || (params_when_off>1)) +00257 { +00258 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); +00259 return false; +00260 } +00261 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +00262 }This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.
-Definition at line 208 of file modules.cpp. +Definition at line 222 of file modules.cpp.
-
00209 { -00210 return cmode(User,Chan); -00211 } +@@ -364,11 +379,11 @@ Returns true if two users share a common channel.00223 { +00224 return cmode(User,Chan); +00225 }This method is used internally by the NICK and QUIT commands, and the Server::SendCommon method.
-Definition at line 171 of file modules.cpp. +Definition at line 185 of file modules.cpp.
-
00172 { -00173 return (common_channels(u1,u2) != 0); -00174 } +@@ -402,11 +417,11 @@ Attempts to look up a channel and return a pointer to it.00186 { +00187 return (common_channels(u1,u2) != 0); +00188 }This function will return NULL if the channel does not exist.
-Definition at line 203 of file modules.cpp. +Definition at line 217 of file modules.cpp.
-
00204 { -00205 return FindChan(channel.c_str()); -00206 } +@@ -440,11 +455,11 @@ Attempts to look up a nick and return a pointer to it.00218 { +00219 return FindChan(channel.c_str()); +00220 }This function will return NULL if the nick does not exist.
-Definition at line 198 of file modules.cpp. +Definition at line 212 of file modules.cpp.
-
00199 { -00200 return Find(nick); -00201 } +@@ -477,11 +492,11 @@ Returns the information of the server as returned by the /ADMIN command.00213 { +00214 return Find(nick); +00215 }See the Admin class for further information of the return value. The members Admin::Nick, Admin::Email and Admin::Name contain the information for the server where the module is loaded.
-Definition at line 223 of file modules.cpp. +Definition at line 237 of file modules.cpp.
-
00224 { -00225 return Admin(getadminname(),getadminemail(),getadminnick()); -00226 } +@@ -514,11 +529,11 @@ Returns the network name, global to all linked servers.00238 { +00239 return Admin(getadminname(),getadminemail(),getadminnick()); +00240 }
-Definition at line 218 of file modules.cpp. +Definition at line 232 of file modules.cpp.
-
00219 { -00220 return getnetworkname(); -00221 } +@@ -551,11 +566,11 @@ Returns the server name of the server where the module is loaded.00233 { +00234 return getnetworkname(); +00235 }
-Definition at line 213 of file modules.cpp. +Definition at line 227 of file modules.cpp.
-
00214 { -00215 return getservername(); -00216 } +@@ -589,11 +604,11 @@ Returns true if a nick is valid.00228 { +00229 return getservername(); +00230 }Nicks for unregistered connections will return false.
-Definition at line 193 of file modules.cpp. +Definition at line 207 of file modules.cpp.
-
00194 { -00195 return (isnick(nick.c_str()) != 0); -00196 } +@@ -636,11 +651,11 @@ Writes a log string.00208 { +00209 return (isnick(nick.c_str()) != 0); +00210 }This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.
-Definition at line 124 of file modules.cpp. +Definition at line 138 of file modules.cpp.
-
00125 { -00126 log(level,"%s",s.c_str()); -00127 } +@@ -683,11 +698,11 @@ Sends a line of text down a TCP/IP socket.00139 { +00140 log(level,"%s",s.c_str()); +00141 }This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.
-Definition at line 139 of file modules.cpp. +Definition at line 153 of file modules.cpp.
-
00140 { -00141 Write(Socket,"%s",s.c_str()); -00142 } +@@ -742,18 +757,18 @@ Sends text from a user to a channel (mulicast).00154 { +00155 Write(Socket,"%s",s.c_str()); +00156 }This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).
-Definition at line 159 of file modules.cpp. -
-
00160 { -00161 if (IncludeSender) -00162 { -00163 WriteChannel(Channel,User,"%s",s.c_str()); -00164 } -00165 else -00166 { -00167 ChanExceptSender(Channel,User,"%s",s.c_str()); -00168 } -00169 } +Definition at line 173 of file modules.cpp. ++
@@ -802,18 +817,18 @@ Sends text from a user to one or more channels (mulicast).00174 { +00175 if (IncludeSender) +00176 { +00177 WriteChannel(Channel,User,"%s",s.c_str()); +00178 } +00179 else +00180 { +00181 ChanExceptSender(Channel,User,"%s",s.c_str()); +00182 } +00183 }This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.
-Definition at line 176 of file modules.cpp. -
-
00177 { -00178 if (IncludeSender) -00179 { -00180 WriteCommon(User,"%s",text.c_str()); -00181 } -00182 else -00183 { -00184 WriteCommonExcept(User,"%s",text.c_str()); -00185 } -00186 } +Definition at line 190 of file modules.cpp. ++
@@ -862,11 +877,11 @@ Sends text from a user to a socket.00191 { +00192 if (IncludeSender) +00193 { +00194 WriteCommon(User,"%s",text.c_str()); +00195 } +00196 else +00197 { +00198 WriteCommonExcept(User,"%s",text.c_str()); +00199 } +00200 }This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)
-Definition at line 149 of file modules.cpp. +Definition at line 163 of file modules.cpp.
-
00150 { -00151 WriteFrom(Socket,User,"%s",s.c_str()); -00152 } +@@ -922,13 +937,13 @@ modes[2] = user->nick;00164 { +00165 WriteFrom(Socket,User,"%s",s.c_str()); +00166 }Srv->SendMode(modes,3,user);
The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!
-Definition at line 134 of file modules.cpp. +Definition at line 148 of file modules.cpp.
References server_mode().
-
00135 { -00136 server_mode(parameters,pcnt,user); -00137 } +@@ -962,11 +977,11 @@ Sends text to all opers.00149 { +00150 server_mode(parameters,pcnt,user); +00151 }This method sends a server notice to all opers with the usermode +s.
-Definition at line 119 of file modules.cpp. +Definition at line 133 of file modules.cpp.
-
00120 { -00121 WriteOpers("%s",s.c_str()); -00122 } +@@ -1009,11 +1024,11 @@ Sends text from the server to a socket.00134 { +00135 WriteOpers("%s",s.c_str()); +00136 }This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)
-Definition at line 144 of file modules.cpp. +Definition at line 158 of file modules.cpp.
-
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 692328224..2c4d80069 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -5,7 +5,7 @@00145 { -00146 WriteServ(Socket,"%s",s.c_str()); -00147 } +@@ -1062,11 +1077,11 @@ Sends text from a user to another user.00159 { +00160 WriteServ(Socket,"%s",s.c_str()); +00161 }This method writes a line of text to a user, with a user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459)
-Definition at line 154 of file modules.cpp. +Definition at line 168 of file modules.cpp.
-
+ +00155 { -00156 WriteTo(Source,Dest,"%s",s.c_str()); -00157 } +@@ -1109,17 +1124,17 @@ Sends a WALLOPS message.00169 { +00170 WriteTo(Source,Dest,"%s",s.c_str()); +00171 }This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.
-Definition at line 188 of file modules.cpp. +Definition at line 202 of file modules.cpp.
-
+ @@ -182,6 +184,10 @@00189 { -00190 WriteWallOps(User,"%s",text.c_str()); -00191 } +-00203 { +00204 WriteWallOps(User,"%s",text.c_str()); +00205 }
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:18 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:31 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html index f333cebec..9b8878654 100644 --- a/docs/module-doc/classVersion-members.html +++ b/docs/module-doc/classVersion-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersVersion Member List
This is the complete list of members for Version, including all inherited members.
age classbase @@ -15,7 +15,7 @@ Build Version Revision Version Version(int major, int minor, int revision, int build) Version - ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html index 3bebaa346..4b1761161 100644 --- a/docs/module-doc/classVersion.html +++ b/docs/module-doc/classVersion.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersVersion Class Reference
Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module. More...@@ -86,9 +86,9 @@ Definition at line 66 of
-Definition at line 87 of file modules.cpp. +Definition at line 101 of file modules.cpp.
-
00087 : Major(major), Minor(minor), Revision(revision), Build(build) { }; + @@ -191,7 +191,7 @@ Definition at line 69 of-
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html index 99d6f2a62..618dd52bc 100644 --- a/docs/module-doc/classchanrec-members.html +++ b/docs/module-doc/classchanrec-members.html @@ -5,16 +5,18 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberschanrec Member List
This is the complete list of members for chanrec, including all inherited members.
age classbase bans chanrec - c_private chanrec + chanrec() chanrec chanrec() chanrec classbase() classbase [inline]created chanrec + custom_modes chanrec GetModeParameter(char mode) chanrec + inviteonly chanrec IsCustomModeSet(char mode) chanrec key chanrec limit chanrec @@ -27,9 +29,9 @@ moderated chanrec topic chanrec topiclock chanrec - topicset chanrec + ~chanrec() chanrec [inline, virtual]~chanrec() chanrec [inline, virtual]- ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:10 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:23 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html index 7d4a1a061..cb8ca4706 100644 --- a/docs/module-doc/classchanrec.html +++ b/docs/module-doc/classchanrec.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberschanrec Class Reference
Holds all relevent information for a channel. More...@@ -26,9 +26,13 @@ Inheritance diagram for chanrec:
void SetCustomModeParam (char mode, char *parameter, bool mode_on) - Sets or unsets the parameters for a custom mode in a channels info. - chanrec () - Creates a channel record and initialises it with default values. + virtual ~chanrec () + bool IsCustomModeSet (char mode) + Returns true if a custom mode is set on a channel. + std::string GetModeParameter (char mode) + Returns the parameter for a custom mode on a channel. + chanrec () + Creates a channel record and initialises it with default values. virtual ~chanrec () Public Attributes
char name [CHANMAX] @@ -68,8 +72,8 @@ This class represents a channel, and contains its name, modes, time created, top The channels name.
-Definition at line 70 of file channels.h.
Constructor & Destructor Documentation
-+Definition at line 83 of file channels.h.
Constructor & Destructor Documentation
+
-
@@ -98,23 +102,23 @@ Creates a channel record and initialises it with default values.
-Definition at line 6 of file channels.cpp. +Definition at line 12 of file channels.cpp.
-References c_private, created, inviteonly, limit, moderated, noexternal, secret, topiclock, and topicset. +References c_private, created, inviteonly, limit, moderated, noexternal, secret, topiclock, and topicset.
-
00007 { -00008 strcpy(name,""); -00009 strcpy(custom_modes,""); -00010 strcpy(topic,""); -00011 strcpy(setby,""); -00012 strcpy(key,""); -00013 created = topicset = limit = 0; -00014 topiclock = noexternal = inviteonly = moderated = secret = c_private = false; -00015 } +00013 { +00014 strcpy(name,""); +00015 strcpy(custom_modes,""); +00016 strcpy(topic,""); +00017 strcpy(setby,""); +00018 strcpy(key,""); +00019 created = topicset = limit = 0; +00020 topiclock = noexternal = inviteonly = moderated = secret = c_private = false; +00021 }
@@ -141,13 +145,102 @@ References c_private, -Definition at line 148 of file channels.h. +Definition at line 174 of file channels.h.
-
00148 { /* stub */ } +00174 { /* stub */ }Member Function Documentation
++
+
++ ++ ++
++ + +std::string chanrec::GetModeParameter +( +char +mode +) ++ +
++ ++ + ++ + ++Returns the parameter for a custom mode on a channel. +
+For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string. +
+Definition at line 87 of file channels.cpp. +
+References custom_mode_params. +
+
00088 { +00089 if (custom_mode_params.size()) +00090 { +00091 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +00092 { +00093 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00094 { +00095 return std::string(i->parameter); +00096 } +00097 } +00098 } +00099 return std::string(""); +00100 } ++
+
++ ++ ++
++ + +bool chanrec::IsCustomModeSet +( +char +mode +) ++ +
+ ++ + ++ + ++Returns true if a custom mode is set on a channel. +
+ +
+Definition at line 81 of file channels.cpp. +
+
00082 { +00083 log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes); +00084 return (strchr(this->custom_modes,mode) != 0); +00085 } +
@@ -263,10 +357,41 @@ Sets or unsets the parameters for a custom mode in a channels info.
@@ -187,34 +280,35 @@ Sets or unsets a custom mode in the channels info.
-Definition at line 17 of file channels.cpp. -
-References custom_modes. -
-
00018 { -00019 if (mode_on) { -00020 char m[3]; -00021 m[0] = mode; -00022 m[1] = '\0'; -00023 if (!strchr(this->custom_modes,mode)) -00024 { -00025 strncat(custom_modes,m,MAXMODES); -00026 } -00027 log(DEBUG,"Custom mode %c set",mode); -00028 } -00029 else { -00030 char temp[MAXMODES]; -00031 int count = 0; -00032 for (int q = 0; q < strlen(custom_modes); q++) { -00033 if (custom_modes[q] != mode) { -00034 temp[count++] = mode; -00035 } -00036 } -00037 temp[count] = '\0'; -00038 strncpy(custom_modes,temp,MAXMODES); -00039 log(DEBUG,"Custom mode %c removed",mode); -00040 } -00041 } +Definition at line 23 of file channels.cpp. ++References custom_modes, and SetCustomModeParam(). +
+
00024 { +00025 if (mode_on) { +00026 char m[3]; +00027 m[0] = mode; +00028 m[1] = '\0'; +00029 if (!strchr(this->custom_modes,mode)) +00030 { +00031 strncat(custom_modes,m,MAXMODES); +00032 } +00033 log(DEBUG,"Custom mode %c set",mode); +00034 } +00035 else { +00036 char temp[MAXBUF]; +00037 int count = 0; +00038 for (int q = 0; q < strlen(custom_modes); q++) { +00039 if (custom_modes[q] != mode) { +00040 temp[count++] = mode; +00041 } +00042 } +00043 temp[count] = '\0'; +00044 strncpy(custom_modes,temp,MAXMODES); +00045 log(DEBUG,"Custom mode %c removed",mode); +00046 this->SetCustomModeParam(mode,"",false); +00047 } +00048 }
-Definition at line 43 of file channels.cpp. -
-
00044 { -00045 } +Definition at line 50 of file channels.cpp. +-+References ModeParameter::channel, custom_mode_params, ModeParameter::mode, and ModeParameter::parameter. +
+Referenced by SetCustomMode(). +
+
@@ -294,7 +419,7 @@ The list of all bans set on the channel.00051 { +00052 +00053 log(DEBUG,"SetCustomModeParam called"); +00054 ModeParameter M; +00055 M.mode = mode; +00056 strcpy(M.channel,this->name); +00057 strcpy(M.parameter,parameter); +00058 if (mode_on) +00059 { +00060 log(DEBUG,"Custom mode parameter %c %s added",mode,parameter); +00061 custom_mode_params.push_back(M); +00062 } +00063 else +00064 { +00065 if (custom_mode_params.size()) +00066 { +00067 for (vector<ModeParameter>::iterator i = custom_mode_params.begin(); i < custom_mode_params.end(); i++) +00068 { +00069 if ((i->mode == mode) && (!strcasecmp(this->name,i->channel))) +00070 { +00071 log(DEBUG,"Custom mode parameter %c %s removed",mode,parameter); +00072 custom_mode_params.erase(i); +00073 return; +00074 } +00075 } +00076 } +00077 log(DEBUG,"*** BUG *** Attempt to remove non-existent mode parameter!"); +00078 } +00079 }
-Definition at line 134 of file channels.h. +Definition at line 148 of file channels.h.
@@ -320,9 +445,9 @@ Nonzero if the mode +p is set.
This value cannot be set at the same time as chanrec::secret
-Definition at line 130 of file channels.h. +Definition at line 144 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -348,9 +473,9 @@ Creation time.
-Definition at line 86 of file channels.h. +Definition at line 100 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -376,9 +501,9 @@ Custom modes for the channel.
Plugins may use this field in any way they see fit.
-Definition at line 79 of file channels.h. +Definition at line 92 of file channels.h.
-Referenced by SetCustomMode(). +Referenced by SetCustomMode().
@@ -404,9 +529,9 @@ Nonzero if the mode +i is set.
-Definition at line 116 of file channels.h. +Definition at line 130 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -432,7 +557,7 @@ Contains the channel key.
If this value is an empty string, there is no channel key in place.
-Definition at line 104 of file channels.h. +Definition at line 118 of file channels.h.
@@ -458,9 +583,9 @@ Contains the channel user limit.
If this value is zero, there is no limit in place.
-Definition at line 99 of file channels.h. +Definition at line 113 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -486,9 +611,9 @@ Nonzero if the mode +m is set.
-Definition at line 120 of file channels.h. +Definition at line 134 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -514,7 +639,7 @@ The channels name.
-Definition at line 75 of file channels.h. +Definition at line 88 of file channels.h.
@@ -540,9 +665,9 @@ Nonzero if the mode +n is set.
-Definition at line 112 of file channels.h. +Definition at line 126 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -568,9 +693,9 @@ Nonzero if the mode +s is set.
This value cannot be set at the same time as chanrec::c_private
-Definition at line 125 of file channels.h. +Definition at line 139 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -596,7 +721,7 @@ The last user to set the topic.
If this member is an empty string, no topic was ever set.
-Definition at line 94 of file channels.h. +Definition at line 108 of file channels.h.
@@ -622,7 +747,7 @@ Channel topic.
If this is an empty string, no channel topic is set.
-Definition at line 83 of file channels.h. +Definition at line 97 of file channels.h.
@@ -648,9 +773,9 @@ Nonzero if the mode +t is set.
-Definition at line 108 of file channels.h. +Definition at line 122 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
@@ -676,14 +801,14 @@ Time topic was set.
If no topic was ever set, this will be equal to chanrec::created
-Definition at line 90 of file channels.h. +Definition at line 104 of file channels.h.
-Referenced by chanrec(). +Referenced by chanrec().
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:10 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:23 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html index 8c26d059c..ad67412e9 100644 --- a/docs/module-doc/classclassbase-members.html +++ b/docs/module-doc/classclassbase-members.html @@ -5,12 +5,12 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersclassbase Member List
This is the complete list of members for classbase, including all inherited members.
age classbase classbase() classbase [inline]- ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:10 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:23 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html index dadfb15cf..87ab7cece 100644 --- a/docs/module-doc/classclassbase.html +++ b/docs/module-doc/classclassbase.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersclassbase Class Reference
The base class for all inspircd classes. More...@@ -13,21 +13,22 @@
Inheritance diagram for classbase:
[legend] Collaboration diagram for classbase:[legend] List of all members.@@ -143,7 +144,7 @@ Definition at line 20 of fil
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:10 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:23 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classclassbase__inherit__graph.gif b/docs/module-doc/classclassbase__inherit__graph.gif index 8dd890147..cabc2c0f2 100644 Binary files a/docs/module-doc/classclassbase__inherit__graph.gif and b/docs/module-doc/classclassbase__inherit__graph.gif differ diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html index 6d731e94c..f87cf9243 100644 --- a/docs/module-doc/classcommand__t-members.html +++ b/docs/module-doc/classcommand__t-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberscommand_t Member List
This is the complete list of members for command_t, including all inherited members.
age classbase @@ -16,7 +16,7 @@ classbase() classbase [inline]total_bytes command_t use_count command_t - ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:11 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:24 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html index 9feeedc86..f020c08e0 100644 --- a/docs/module-doc/classcommand__t.html +++ b/docs/module-doc/classcommand__t.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberscommand_t Class Reference
A structure that defines a command. More...@@ -199,7 +199,7 @@ Definition at line 44 of
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:11 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:24 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html index 9034c80ee..e31e4c576 100644 --- a/docs/module-doc/classconnection-members.html +++ b/docs/module-doc/classconnection-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersconnection Member List
This is the complete list of members for connection, including all inherited members.
age classbase @@ -36,7 +36,7 @@ BeginLink(char *targethost, int port, char *password) connection signon connection TerminateLink(char *targethost) connection - ~classbase() classbase [inline]
Generated on Sat Apr 3 16:36:13 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:25 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html index d7f0d18af..060b571cc 100644 --- a/docs/module-doc/classconnection.html +++ b/docs/module-doc/classconnection.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersconnection Class Reference
#include <connection.h>Inheritance diagram for connection:
@@ -837,7 +837,7 @@ Referenced by serverrec::se
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:12 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:25 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html index 0c69f8654..84d21c647 100644 --- a/docs/module-doc/classes.html +++ b/docs/module-doc/classes.html @@ -5,21 +5,21 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd Compound Index
Acommand_t
F-
Mserverrec Admin ConfigReader FileReader Module -
U+
BServer Admin ConfigReader FileReader ModeParameter serverrec
BConnectClass -
HModuleFactory ucrec BanItem connection HostItem -
Puserrec +
CModule +
UBanItem connection HostItem ModuleFactory ucrec
C
E-
Ipacket -
Vchanrec ExemptItem Invited -
SVersion classbase ExtMode InviteItem Server
Generated on Sat Apr 3 16:36:08 2004 for InspIRCd by ++
Puserrec chanrec ExemptItem Invited packet +
Vclassbase ExtMode InviteItem +
SVersion
Generated on Sun Apr 4 23:02:21 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classpacket-members.html b/docs/module-doc/classpacket-members.html index de169854f..a6aae8e96 100644 --- a/docs/module-doc/classpacket-members.html +++ b/docs/module-doc/classpacket-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberspacket Member List
This is the complete list of members for packet, including all inherited members.
age classbase @@ -16,7 +16,7 @@ classbase() classbase [inline]type packet ~classbase() classbase [inline]- ~packet() packet
Generated on Sat Apr 3 16:36:17 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:30 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classpacket.html b/docs/module-doc/classpacket.html index 334b62848..daef33a55 100644 --- a/docs/module-doc/classpacket.html +++ b/docs/module-doc/classpacket.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Memberspacket Class Reference
#include <connection.h>Inheritance diagram for packet:
@@ -183,7 +183,7 @@ Definition at line 31
The documentation for this class was generated from the following file: -
Generated on Sat Apr 3 16:36:17 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:30 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html index a707c987d..06dcff07a 100644 --- a/docs/module-doc/classserverrec-members.html +++ b/docs/module-doc/classserverrec-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersserverrec Member List
This is the complete list of members for serverrec, including all inherited members.
age classbase @@ -47,7 +47,7 @@ BeginLink(char *targethost, int port, char *password) connection version serverrec ~classbase() classbase [inline]- ~serverrec() serverrec
Generated on Sat Apr 3 16:36:19 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:32 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html index 9a1fc4840..d6ed1b913 100644 --- a/docs/module-doc/classserverrec.html +++ b/docs/module-doc/classserverrec.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersserverrec Class Reference
A class that defines the local server or a remote server. More...@@ -422,7 +422,7 @@ Referenced by serverrec()
The documentation for this class was generated from the following files: -
Generated on Sat Apr 3 16:36:18 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:32 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html index 508bf7553..875aab1a6 100644 --- a/docs/module-doc/classucrec-members.html +++ b/docs/module-doc/classucrec-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersucrec Member List
This is the complete list of members for ucrec, including all inherited members.
age classbase @@ -14,7 +14,7 @@ channel ucrec ucrec() ucrec [inline]~classbase() classbase [inline]- ~ucrec() ucrec [inline, virtual]
Generated on Sat Apr 3 16:36:19 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html index 83a48a5d5..674d1024a 100644 --- a/docs/module-doc/classucrec.html +++ b/docs/module-doc/classucrec.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersucrec Class Reference
Holds a user's modes on a channel This class associates a users privilages with a channel by creating a pointer link between a userrec and chanrec class. More...@@ -38,7 +38,7 @@ The uc_modes member holds a bitmask of which privilages the user has on the chan
-Definition at line 165 of file channels.h.
Constructor & Destructor Documentation
+Definition at line 191 of file channels.h.Constructor & Destructor Documentation
@@ -99,9 +99,9 @@ Definition at line 178 o
@@ -66,9 +66,9 @@ Definition at line 165 o
-Definition at line 178 of file channels.h. +Definition at line 204 of file channels.h.
-
00178 { /* stub */ } +00204 { /* stub */ }
-Definition at line 179 of file channels.h. +Definition at line 205 of file channels.h.
-
00179 { /* stub */ } +-@@ -129,7 +129,7 @@ Points to the channel record where the given modes apply.00205 { /* stub */ }If the record is not in use, this value will be NULL.
-Definition at line 176 of file channels.h. +Definition at line 202 of file channels.h.
Referenced by userrec::userrec(). @@ -157,12 +157,12 @@ Contains a bitmask of the UCMODE_OP ...
UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon the channel.
-Definition at line 171 of file channels.h. +Definition at line 197 of file channels.h.
The documentation for this class was generated from the following file:
Generated on Sat Apr 3 16:36:19 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html index d2b4a5418..785c99e1b 100644 --- a/docs/module-doc/classuserrec-members.html +++ b/docs/module-doc/classuserrec-members.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersuserrec Member List
This is the complete list of members for userrec, including all inherited members.
age classbase @@ -53,7 +53,7 @@ awaymsg userrec userrec() userrec ~classbase() classbase [inline]- ~userrec() userrec [inline, virtual]
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 1f317aa54..f88a03a19 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersuserrec Class Reference
Holds all information about a user This class stores all information about a user connected to the irc server. More...@@ -45,7 +45,7 @@ Inheritance diagram for userrec:
char fullname [128] - The users full name. + char modes [32] char modes [MAXBUF] The user's mode string. ucrec chans [MAXCHANS] @@ -95,7 +95,7 @@ Definition at line 58 of fi char server [256] Definition at line 11 of file users.cpp.
-References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, and connection::signon. +References connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, connection::fd, connection::haspassed, connection::idle_lastmsg, invites, connection::ip, connection::lastping, connection::nping, connection::port, connection::registered, and connection::signon.
00012 { 00013 // the PROPER way to do it, AVOID bzero at *ALL* costs @@ -362,17 +362,21 @@ Definition at line 70 of References invites.-
@@ -541,7 +545,7 @@ Referenced by InviteTo(),00071 { -00072 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00073 { -00074 if (i->channel) { -00075 if (!strcasecmp(i->channel,channel)) -00076 { -00077 invites.erase(i); -00078 return; -00079 } -00080 } -00081 } -00082 } +00072 log(DEBUG,"Removing invites"); +00073 if (invites.size()) +00074 { +00075 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00076 { +00077 if (i->channel) { +00078 if (!strcasecmp(i->channel,channel)) +00079 { +00080 invites.erase(i); +00081 return; +00082 } +00083 } +00084 } +00085 } +00086 }@@ -643,7 +647,7 @@ Definition at line 96 of fi
- char userrec::modes[32] + char userrec::modes[MAXBUF]
The documentation for this class was generated from the following files:
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html index 8b5d831b8..9ea5706eb 100644 --- a/docs/module-doc/connection_8h-source.html +++ b/docs/module-doc/connection_8h-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersconnection.h
Go to the documentation of this file.00001 /* 00002 00003 */ @@ -79,7 +79,7 @@ 00071 00072 #endif 00073 -
Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html index 9d6e24875..69b54bb25 100644 --- a/docs/module-doc/connection_8h.html +++ b/docs/module-doc/connection_8h.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersconnection.h File Reference
#include "inspircd_config.h"
#include "base.h"
#include <string>
@@ -142,7 +142,7 @@ Definition at line 20 Definition at line 22 of file connection.h. -
Generated on Sat Apr 3 16:36:05 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:17 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index 820b3abe9..ecd93d2b9 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersctables.h
Go to the documentation of this file.00001 /* +------------------------------------+ 00002 * | Inspire Internet Relay Chat Daemon | 00003 * +------------------------------------+ @@ -43,7 +43,7 @@ 00049 00050 #endif 00051 -
Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html index 31c2baba0..bd5236d00 100644 --- a/docs/module-doc/ctables_8h.html +++ b/docs/module-doc/ctables_8h.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersctables.h File Reference
#include "inspircd_config.h"
#include "inspircd.h"
#include "base.h"
@@ -57,7 +57,7 @@ This graph shows which files directly or indirectly include this file:23 of file ctables.h. -
Generated on Sat Apr 3 16:36:05 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:17 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/doxygen.png b/docs/module-doc/doxygen.png index 0fbfb1359..5bb475e23 100644 Binary files a/docs/module-doc/doxygen.png and b/docs/module-doc/doxygen.png differ diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html index cbe10a377..b995faebe 100644 --- a/docs/module-doc/files.html +++ b/docs/module-doc/files.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd File List
Here is a list of all files with brief descriptions:-
base.h [code] @@ -19,7 +19,7 @@ channels.cpp [code] users.cpp [code] users.h [code]
Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html index 54f891acb..49c063bf0 100644 --- a/docs/module-doc/functions.html +++ b/docs/module-doc/functions.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd Compound Members
a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | r | s | t | u | v | ~ @@ -31,8 +31,8 @@ Here is a list of all class members with links to the classes they belong to:c_private : chanrec
ChanMode() : Server channel -: Invited, ucrec chanrec() -: chanrec chans +: Invited, ucrec, ModeParameter chanrec() +: chanrec chans : userrec classbase() : classbase cmds_in : connection cmds_out @@ -48,8 +48,7 @@ Here is a list of all class members with links to the classes they belong to: - d -
- e -
@@ -77,7 +76,8 @@ Here is a list of all class members with links to the classes they belong to:
Server
GetFullHost() : userrec GetFullRealHost() : userrec GetLine() -: FileReader GetNetworkName() +: FileReader GetModeParameter() +: chanrec GetNetworkName() : Server GetServerName() : Server GetVersion() : Module @@ -100,7 +100,8 @@ Here is a list of all class members with links to the classes they belong to: chanrec
invites : userrec InviteTo() : userrec ip -: connection IsInvited() +: connection IsCustomModeSet() +: chanrec IsInvited() : userrec IsNick() : Server - j - @@ -123,7 +124,8 @@ Here is a list of all class members with links to the classes they belong to:
Major : Version
min_params : command_t Minor -: Version modechar +: Version mode +: ModeParameter modechar : ExtMode moderated : chanrec modes : userrec Module() @@ -134,7 +136,8 @@ Here is a list of all class members with links to the classes they belong to:
- name : serverrec, chanrec
- Name -: Admin
- nick +: Admin
- needsoper +: ExtMode
- nick : userrec
- Nick : Admin
- noexternal : chanrec
- nping @@ -155,9 +158,10 @@ Here is a list of all class members with links to the classes they belong to:
- p -
@@ -185,9 +189,9 @@ Here is a list of all class members with links to the classes they belong to:
- packet() -: packet
- params_when_off -: ExtMode
- params_when_on -: ExtMode
- pass +: packet
- parameter +: ModeParameter
- params_when_off +: ExtMode
- params_when_on +: ExtMode
- pass : ConnectClass
- pingtime : serverrec
- port : connection
Server
- SendSYN() : connection
- SendTo() : Server
- SendWallops() -: Server
- Server() -: Server
- server -: userrec
- serverrec() +: Server
- server +: userrec
- Server() +: Server
- serverrec() : serverrec
- set_by : HostItem
- set_time : HostItem
- setby @@ -216,13 +220,13 @@ Here is a list of all class members with links to the classes they belong to:
- v -
+: ConfigReader
- Verify() -: ConfigReader
- Version() -: Version
- version -: serverrec
- version +: serverrec
- Version() +: Version
- ~ -
-
- ~chanrec() -: chanrec
- ~classbase() +: chanrec
- ~classbase() : classbase
- ~ConfigReader() : ConfigReader
- ~FileReader() : FileReader
- ~HostItem() @@ -234,7 +238,7 @@ Here is a list of all class members with links to the classes they belong to:
serverrec
- ~ucrec() : ucrec
- ~userrec() : userrec
Generated on Sat Apr 3 16:36:08 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:21 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html index 4adba81a8..92106ca0d 100644 --- a/docs/module-doc/globals.html +++ b/docs/module-doc/globals.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd File Members
b | c | d | e | f | h | i | l | m | n | p | s | u | v @@ -20,13 +20,14 @@ Here is a list of all file members with links to the files they belong to:users.h
CC_DENY : users.h ClassVector : users.h createcommand() -: modules.h +: modules.h custom_mode_params +: channels.cpp - d -
+: modules.cpp
- DEBUG : modules.h
- DEFAULT : modules.h
- DoAddExtendedMode() -: modules.cpp
- e -
@@ -100,7 +102,7 @@ Here is a list of all file members with links to the files they belong to:
- EMode @@ -37,7 +38,7 @@ Here is a list of all file members with links to the files they belong to:
- f -
@@ -61,9 +62,10 @@ Here is a list of all file members with links to the files they belong to:
- factory() -: modules.cpp
- file_cache +: modules.cpp
- file_cache : modules.h
- FOREACH_MOD : modules.h
- FOREACH_RESULT : modules.h
MODCOUNT : modules.cpp
- ModeDefined() : modules.cpp
- ModeDefinedOff() -: modules.cpp
- ModeDefinedOn() +: modules.cpp
- ModeDefinedOn() +: modules.cpp
- ModeDefinedOper() : modules.cpp
- modules() -: modules.cpp
- MT_CHANNEL +: modules.cpp
- MT_CHANNEL : modules.h
- MT_CLIENT : modules.h
- MT_SERVER : modules.h
-
- VERBOSE : modules.h
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html index f34cbc22e..a01b1b1fb 100644 --- a/docs/module-doc/graph_legend.html +++ b/docs/module-doc/graph_legend.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersGraph Legend
This page explains how to interpret the graphs that are generated by doxygen.Consider the following example:
/*! Invisible class because of truncation */ @@ -69,7 +69,7 @@ A purple dashed arrow is used if a class is contained or used by another class.A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. -
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html index 4963a7754..fc02b7e80 100644 --- a/docs/module-doc/hierarchy.html +++ b/docs/module-doc/hierarchy.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd Class Hierarchy
Go to the graphical class hierarchyThis inheritance list is sorted roughly, but not completely, alphabetically:
@@ -29,6 +29,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:
-- Invited +
- ModeParameter
- Module
- ModuleFactory
- packet @@ -38,7 +39,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:
- ExtMode
Generated on Sat Apr 3 16:36:08 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:21 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/inherit__graph__0.gif b/docs/module-doc/inherit__graph__0.gif index ff69e5b46..e6ee4dda3 100644 Binary files a/docs/module-doc/inherit__graph__0.gif and b/docs/module-doc/inherit__graph__0.gif differ diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html index 0b3d5b02f..730f8bd25 100644 --- a/docs/module-doc/inherits.html +++ b/docs/module-doc/inherits.html @@ -5,40 +5,41 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd Graphical Class Hierarchy
Go to the textual class hierarchy
-
![]()
![]()
Generated on Sat Apr 3 16:36:21 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:35 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html index e14b524c5..8dfaedc38 100644 --- a/docs/module-doc/main.html +++ b/docs/module-doc/main.html @@ -5,10 +5,10 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File MembersInspIRCd Documentation
-
Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 2f2b820a9..b9e6886be 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersmodules.cpp
Go to the documentation of this file.00001 /* 00002 00003 @@ -27,10 +27,10 @@ 00019 public: 00020 char modechar; 00021 int type; -00022 bool default_on; -00023 int params_when_on; -00024 int params_when_off; -00025 ExtMode(char mc, int ty, bool d_on, int p_on, int p_off) : modechar(mc), type(ty), default_on(d_on), params_when_on(p_on), params_when_off(p_off) { }; +00022 int params_when_on; +00023 int params_when_off; +00024 bool needsoper; +00025 ExtMode(char mc, int ty, bool oper, int p_on, int p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { }; 00026 }; 00027 00028 typedef std::vector<ExtMode> ExtModeList; @@ -53,282 +53,311 @@ 00045 return false; 00046 } 00047 -00048 // returns number of parameters for a custom mode when it is switched on -00049 int ModeDefinedOn(char modechar, int type) -00050 { +00048 bool ModeDefinedOper(char modechar, int type) +00049 { +00050 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); 00051 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) 00052 { -00053 if ((i->modechar == modechar) && (i->type == type)) -00054 { -00055 return i->params_when_on; -00056 } -00057 } -00058 return 0; -00059 } -00060 -00061 // returns number of parameters for a custom mode when it is switched on -00062 int ModeDefinedOff(char modechar, int type) -00063 { -00064 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) -00065 { -00066 if ((i->modechar == modechar) && (i->type == type)) -00067 { -00068 return i->params_when_off; -00069 } -00070 } -00071 return 0; -00072 } -00073 -00074 // returns true if an extended mode character is in use -00075 bool DoAddExtendedMode(char modechar, int type, bool default_on, int params_on, int params_off) -00076 { -00077 if (ModeDefined(modechar,type)) { -00078 return false; -00079 } -00080 EMode.push_back(ExtMode(modechar,type,default_on,params_on,params_off)); -00081 return true; -00082 } -00083 -00084 -00085 // version is a simple class for holding a modules version number -00086 -00087 Version::Version(int major, int minor, int revision, int build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; -00088 -00089 // admin is a simple class for holding a server's administrative info -00090 -00091 Admin::Admin(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; -00092 -00093 Module::Module() { } -00094 Module::~Module() { } -00095 void Module::OnUserConnect(userrec* user) { } -00096 void Module::OnUserQuit(userrec* user) { } -00097 void Module::OnUserJoin(userrec* user, chanrec* channel) { } -00098 void Module::OnUserPart(userrec* user, chanrec* channel) { } -00099 void Module::OnPacketTransmit(char *p) { } -00100 void Module::OnPacketReceive(char *p) { } -00101 void Module::OnRehash() { } -00102 void Module::OnServerRaw(std::string &raw, bool inbound) { } -00103 int Module::OnUserPreJoin(userrec* user, chanrec* chan, char* cname) { return 0; } -00104 bool Module::OnExtendedMode(userrec* user, chanrec* chan, char modechar, int type, bool mode_on, string_list ¶ms) { } -00105 Version Module::GetVersion() { return Version(1,0,0,0); } +00053 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); +00054 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +00055 { +00056 return true; +00057 } +00058 } +00059 return false; +00060 } +00061 +00062 // returns number of parameters for a custom mode when it is switched on +00063 int ModeDefinedOn(char modechar, int type) +00064 { +00065 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00066 { +00067 if ((i->modechar == modechar) && (i->type == type)) +00068 { +00069 return i->params_when_on; +00070 } +00071 } +00072 return 0; +00073 } +00074 +00075 // returns number of parameters for a custom mode when it is switched on +00076 int ModeDefinedOff(char modechar, int type) +00077 { +00078 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00079 { +00080 if ((i->modechar == modechar) && (i->type == type)) +00081 { +00082 return i->params_when_off; +00083 } +00084 } +00085 return 0; +00086 } +00087 +00088 // returns true if an extended mode character is in use +00089 bool DoAddExtendedMode(char modechar, int type, bool requires_oper, int params_on, int params_off) +00090 { +00091 if (ModeDefined(modechar,type)) { +00092 return false; +00093 } +00094 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off)); +00095 return true; +00096 } +00097 +00098 +00099 // version is a simple class for holding a modules version number +00100 +00101 Version::Version(int major, int minor, int revision, int build) : Major(major), Minor(minor), Revision(revision), Build(build) { }; +00102 +00103 // admin is a simple class for holding a server's administrative info +00104 +00105 Admin::Admin(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { }; 00106 -00107 // server is a wrapper class that provides methods to all of the C-style -00108 // exports in the core -00109 // -00110 -00111 Server::Server() -00112 { -00113 } -00114 -00115 Server::~Server() -00116 { -00117 } -00118 -00119 void Server::SendOpers(std::string s) -00120 { -00121 WriteOpers("%s",s.c_str()); -00122 } -00123 -00124 void Server::Log(int level, std::string s) -00125 { -00126 log(level,"%s",s.c_str()); +00107 Module::Module() { } +00108 Module::~Module() { } +00109 void Module::OnUserConnect(userrec* user) { } +00110 void Module::OnUserQuit(userrec* user) { } +00111 void Module::OnUserJoin(userrec* user, chanrec* channel) { } +00112 void Module::OnUserPart(userrec* user, chanrec* channel) { } +00113 void Module::OnPacketTransmit(char *p) { } +00114 void Module::OnPacketReceive(char *p) { } +00115 void Module::OnRehash() { } +00116 void Module::OnServerRaw(std::string &raw, bool inbound) { } +00117 int Module::OnUserPreJoin(userrec* user, chanrec* chan, char* cname) { return 0; } +00118 bool Module::OnExtendedMode(userrec* user, chanrec* chan, char modechar, int type, bool mode_on, string_list ¶ms) { } +00119 Version Module::GetVersion() { return Version(1,0,0,0); } +00120 +00121 // server is a wrapper class that provides methods to all of the C-style +00122 // exports in the core +00123 // +00124 +00125 Server::Server() +00126 { 00127 } 00128 -00129 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams) +00129 Server::~Server() 00130 { -00131 createcommand(cmd,f,flags,minparams); -00132 } -00133 -00134 void Server::SendMode(char **parameters, int pcnt, userrec *user) -00135 { -00136 server_mode(parameters,pcnt,user); -00137 } -00138 -00139 void Server::Send(int Socket, std::string s) -00140 { -00141 Write(Socket,"%s",s.c_str()); -00142 } -00143 -00144 void Server::SendServ(int Socket, std::string s) -00145 { -00146 WriteServ(Socket,"%s",s.c_str()); -00147 } -00148 -00149 void Server::SendFrom(int Socket, userrec* User, std::string s) -00150 { -00151 WriteFrom(Socket,User,"%s",s.c_str()); -00152 } -00153 -00154 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) -00155 { -00156 WriteTo(Source,Dest,"%s",s.c_str()); -00157 } -00158 -00159 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) -00160 { -00161 if (IncludeSender) -00162 { -00163 WriteChannel(Channel,User,"%s",s.c_str()); -00164 } -00165 else -00166 { -00167 ChanExceptSender(Channel,User,"%s",s.c_str()); -00168 } -00169 } -00170 -00171 bool Server::CommonChannels(userrec* u1, userrec* u2) -00172 { -00173 return (common_channels(u1,u2) != 0); -00174 } -00175 -00176 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) -00177 { -00178 if (IncludeSender) -00179 { -00180 WriteCommon(User,"%s",text.c_str()); -00181 } -00182 else -00183 { -00184 WriteCommonExcept(User,"%s",text.c_str()); -00185 } -00186 } -00187 -00188 void Server::SendWallops(userrec* User, std::string text) -00189 { -00190 WriteWallOps(User,"%s",text.c_str()); -00191 } -00192 -00193 bool Server::IsNick(std::string nick) -00194 { -00195 return (isnick(nick.c_str()) != 0); -00196 } -00197 -00198 userrec* Server::FindNick(std::string nick) -00199 { -00200 return Find(nick); -00201 } -00202 -00203 chanrec* Server::FindChannel(std::string channel) -00204 { -00205 return FindChan(channel.c_str()); -00206 } -00207 -00208 std::string Server::ChanMode(userrec* User, chanrec* Chan) -00209 { -00210 return cmode(User,Chan); -00211 } -00212 -00213 std::string Server::GetServerName() -00214 { -00215 return getservername(); -00216 } -00217 -00218 std::string Server::GetNetworkName() -00219 { -00220 return getnetworkname(); -00221 } -00222 -00223 Admin Server::GetAdmin() -00224 { -00225 return Admin(getadminname(),getadminemail(),getadminnick()); -00226 } -00227 -00228 -00229 -00230 bool Server::AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off) -00231 { -00232 return DoAddExtendedMode(modechar,type,default_on,params_when_on,params_when_off); -00233 } -00234 -00235 -00236 ConfigReader::ConfigReader() -00237 { -00238 fname = CONFIG_FILE; -00239 } -00240 +00131 } +00132 +00133 void Server::SendOpers(std::string s) +00134 { +00135 WriteOpers("%s",s.c_str()); +00136 } +00137 +00138 void Server::Log(int level, std::string s) +00139 { +00140 log(level,"%s",s.c_str()); +00141 } +00142 +00143 void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams) +00144 { +00145 createcommand(cmd,f,flags,minparams); +00146 } +00147 +00148 void Server::SendMode(char **parameters, int pcnt, userrec *user) +00149 { +00150 server_mode(parameters,pcnt,user); +00151 } +00152 +00153 void Server::Send(int Socket, std::string s) +00154 { +00155 Write(Socket,"%s",s.c_str()); +00156 } +00157 +00158 void Server::SendServ(int Socket, std::string s) +00159 { +00160 WriteServ(Socket,"%s",s.c_str()); +00161 } +00162 +00163 void Server::SendFrom(int Socket, userrec* User, std::string s) +00164 { +00165 WriteFrom(Socket,User,"%s",s.c_str()); +00166 } +00167 +00168 void Server::SendTo(userrec* Source, userrec* Dest, std::string s) +00169 { +00170 WriteTo(Source,Dest,"%s",s.c_str()); +00171 } +00172 +00173 void Server::SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender) +00174 { +00175 if (IncludeSender) +00176 { +00177 WriteChannel(Channel,User,"%s",s.c_str()); +00178 } +00179 else +00180 { +00181 ChanExceptSender(Channel,User,"%s",s.c_str()); +00182 } +00183 } +00184 +00185 bool Server::CommonChannels(userrec* u1, userrec* u2) +00186 { +00187 return (common_channels(u1,u2) != 0); +00188 } +00189 +00190 void Server::SendCommon(userrec* User, std::string text,bool IncludeSender) +00191 { +00192 if (IncludeSender) +00193 { +00194 WriteCommon(User,"%s",text.c_str()); +00195 } +00196 else +00197 { +00198 WriteCommonExcept(User,"%s",text.c_str()); +00199 } +00200 } +00201 +00202 void Server::SendWallops(userrec* User, std::string text) +00203 { +00204 WriteWallOps(User,"%s",text.c_str()); +00205 } +00206 +00207 bool Server::IsNick(std::string nick) +00208 { +00209 return (isnick(nick.c_str()) != 0); +00210 } +00211 +00212 userrec* Server::FindNick(std::string nick) +00213 { +00214 return Find(nick); +00215 } +00216 +00217 chanrec* Server::FindChannel(std::string channel) +00218 { +00219 return FindChan(channel.c_str()); +00220 } +00221 +00222 std::string Server::ChanMode(userrec* User, chanrec* Chan) +00223 { +00224 return cmode(User,Chan); +00225 } +00226 +00227 std::string Server::GetServerName() +00228 { +00229 return getservername(); +00230 } +00231 +00232 std::string Server::GetNetworkName() +00233 { +00234 return getnetworkname(); +00235 } +00236 +00237 Admin Server::GetAdmin() +00238 { +00239 return Admin(getadminname(),getadminemail(),getadminnick()); +00240 } 00241 -00242 ConfigReader::~ConfigReader() -00243 { -00244 } -00245 -00246 -00247 ConfigReader::ConfigReader(std::string filename) : fname(filename) { }; -00248 -00249 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) -00250 { -00251 char val[MAXBUF]; -00252 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val); -00253 return val; -00254 } -00255 -00256 -00257 int ConfigReader::Enumerate(std::string tag) -00258 { -00259 return EnumConf(fname.c_str(),tag.c_str()); -00260 } -00261 -00262 -00263 bool ConfigReader::Verify() -00264 { -00265 return true; -00266 } -00267 -00268 -00269 FileReader::FileReader(std::string filename) -00270 { -00271 file_cache c; -00272 readfile(c,filename.c_str()); -00273 this->fc = c; -00274 } +00242 +00243 +00244 bool Server::AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off) +00245 { +00246 if (type == MT_SERVER) +00247 { +00248 log(DEBUG,"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"); +00249 return false; +00250 } +00251 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT)) +00252 { +00253 log(DEBUG,"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"); +00254 return false; +00255 } +00256 if ((params_when_on>1) || (params_when_off>1)) +00257 { +00258 log(DEBUG,"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"); +00259 return false; +00260 } +00261 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off); +00262 } +00263 +00264 +00265 ConfigReader::ConfigReader() +00266 { +00267 fname = CONFIG_FILE; +00268 } +00269 +00270 +00271 ConfigReader::~ConfigReader() +00272 { +00273 } +00274 00275 -00276 FileReader::FileReader() -00277 { -00278 } -00279 -00280 void FileReader::LoadFile(std::string filename) -00281 { -00282 file_cache c; -00283 readfile(c,filename.c_str()); -00284 this->fc = c; -00285 } -00286 -00287 -00288 FileReader::~FileReader() -00289 { -00290 } +00276 ConfigReader::ConfigReader(std::string filename) : fname(filename) { }; +00277 +00278 std::string ConfigReader::ReadValue(std::string tag, std::string name, int index) +00279 { +00280 char val[MAXBUF]; +00281 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val); +00282 return val; +00283 } +00284 +00285 +00286 int ConfigReader::Enumerate(std::string tag) +00287 { +00288 return EnumConf(fname.c_str(),tag.c_str()); +00289 } +00290 00291 -00292 bool FileReader::Exists() +00292 bool ConfigReader::Verify() 00293 { -00294 if (fc.size() == 0) -00295 { -00296 return(false); -00297 } -00298 else -00299 { -00300 return(true); -00301 } -00302 } -00303 -00304 std::string FileReader::GetLine(int x) -00305 { -00306 if ((x<0) || (x>fc.size())) -00307 return ""; -00308 return fc[x]; -00309 } -00310 -00311 int FileReader::FileSize() -00312 { -00313 return fc.size(); +00294 return true; +00295 } +00296 +00297 +00298 FileReader::FileReader(std::string filename) +00299 { +00300 file_cache c; +00301 readfile(c,filename.c_str()); +00302 this->fc = c; +00303 } +00304 +00305 FileReader::FileReader() +00306 { +00307 } +00308 +00309 void FileReader::LoadFile(std::string filename) +00310 { +00311 file_cache c; +00312 readfile(c,filename.c_str()); +00313 this->fc = c; 00314 } 00315 00316 -00317 std::vector<Module*> modules(255); -00318 std::vector<ircd_module*> factory(255); -00319 -00320 int MODCOUNT = -1; -00321 -00322 -
Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by +00317 FileReader::~FileReader() +00318 { +00319 } +00320 +00321 bool FileReader::Exists() +00322 { +00323 if (fc.size() == 0) +00324 { +00325 return(false); +00326 } +00327 else +00328 { +00329 return(true); +00330 } +00331 } +00332 +00333 std::string FileReader::GetLine(int x) +00334 { +00335 if ((x<0) || (x>fc.size())) +00336 return ""; +00337 return fc[x]; +00338 } +00339 +00340 int FileReader::FileSize() +00341 { +00342 return fc.size(); +00343 } +00344 +00345 +00346 std::vector<Module*> modules(255); +00347 std::vector<ircd_module*> factory(255); +00348 +00349 int MODCOUNT = -1; +00350 +00351 +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html index 4bd2c143c..1aba98c40 100644 --- a/docs/module-doc/modules_8cpp.html +++ b/docs/module-doc/modules_8cpp.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersmodules.cpp File Reference
#include <typeinfo>
#include <iostream>
#include "globals.h"
@@ -31,11 +31,12 @@ Include dependency graph for modules.cpp:ExtModeListIter
Functions
- bool ModeDefined (char modechar, int type) - int ModeDefinedOn (char modechar, int type) - int ModeDefinedOff (char modechar, int type) - bool DoAddExtendedMode (char modechar, int type, bool default_on, int params_on, int params_off) - std::vector< Module * > modules (255) + std::vector< ircd_module * > factory (255) + bool ModeDefinedOper (char modechar, int type) + int ModeDefinedOn (char modechar, int type) + int ModeDefinedOff (char modechar, int type) + bool DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off) + std::vector< Module * > modules (255) std::vector< ircd_module * > factory (255) Variables
ExtModeList EMode @@ -88,11 +89,11 @@ Definition at line 28 o int MODCOUNT = -1 Definition at line 29 of file modules.cpp.
-Referenced by ModeDefined(), ModeDefinedOff(), and ModeDefinedOn(). +Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), and ModeDefinedOper().
Function Documentation
-
-
@@ -233,7 +234,7 @@ Definition at line 34 o References EMode, and ExtModeListIter.
-Referenced by DoAddExtendedMode(). +Referenced by DoAddExtendedMode().
00035 { 00036 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); @@ -250,7 +251,7 @@ Referenced by DoAddExtended
+
+ @@ -341,24 +342,80 @@ References EMode, and < +
-Definition at line 49 of file modules.cpp. +Definition at line 63 of file modules.cpp.
References EMode, and ExtModeListIter.
-
00050 { +00064 { +00065 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) +00066 { +00067 if ((i->modechar == modechar) && (i->type == type)) +00068 { +00069 return i->params_when_on; +00070 } +00071 } +00072 return 0; +00073 } ++
+
++ ++ ++
++ +bool ModeDefinedOper +( +char +modechar, ++ ++ + int +type ++ + ++ ) ++ +
-+ + + ++ + + +
+Definition at line 48 of file modules.cpp. +
+References EMode, and ExtModeListIter. +
+
00049 { +00050 log(DEBUG,"Size of extmodes vector is %d",EMode.size()); 00051 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) 00052 { -00053 if ((i->modechar == modechar) && (i->type == type)) -00054 { -00055 return i->params_when_on; -00056 } -00057 } -00058 return 0; -00059 } +00053 log(DEBUG,"i->modechar==%c, modechar=%c, i->type=%d, type=%d",i->modechar,modechar,i->type,type); +00054 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) +00055 { +00056 return true; +00057 } +00058 } +00059 return false; +00060 }
@@ -411,7 +468,7 @@ References EMode, and < +Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), and ModeDefinedOper().Definition at line 31 of file modules.cpp.
-Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), and ModeDefinedOn().
@@ -435,10 +492,10 @@ Referenced by DoAddExtended
-Definition at line 320 of file modules.cpp. +Definition at line 349 of file modules.cpp. -
Generated on Sat Apr 3 16:36:06 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:18 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index e1848aeb4..39b1855fd 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersmodules.h
Go to the documentation of this file.00001 /* 00002 00003 @@ -136,55 +136,55 @@ 00282 virtual std::string GetServerName(); 00285 virtual std::string GetNetworkName(); 00291 virtual Admin GetAdmin(); -00309 virtual bool AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off); -00310 -00325 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); -00326 -00348 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00349 }; -00350 -00357 class ConfigReader : public classbase -00358 { -00359 protected: -00362 std::string fname; -00363 public: -00368 ConfigReader(); // default constructor reads ircd.conf -00372 ConfigReader(std::string filename); // read a module-specific config -00376 ~ConfigReader(); -00381 std::string ReadValue(std::string tag, std::string name, int index); -00388 int Enumerate(std::string tag); -00392 bool Verify(); -00393 }; -00394 +00310 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00311 +00326 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); +00327 +00349 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00350 }; +00351 +00358 class ConfigReader : public classbase +00359 { +00360 protected: +00363 std::string fname; +00364 public: +00369 ConfigReader(); // default constructor reads ircd.conf +00373 ConfigReader(std::string filename); // read a module-specific config +00377 ~ConfigReader(); +00382 std::string ReadValue(std::string tag, std::string name, int index); +00389 int Enumerate(std::string tag); +00393 bool Verify(); +00394 }; 00395 00396 -00402 class FileReader : public classbase -00403 { -00404 file_cache fc; -00405 public: -00410 FileReader(); -00416 FileReader(std::string filename); -00420 ~FileReader(); -00426 void LoadFile(std::string filename); -00431 bool Exists(); -00432 std::string GetLine(int x); -00438 int FileSize(); -00439 }; -00440 +00397 +00403 class FileReader : public classbase +00404 { +00405 file_cache fc; +00406 public: +00411 FileReader(); +00417 FileReader(std::string filename); +00421 ~FileReader(); +00427 void LoadFile(std::string filename); +00432 bool Exists(); +00433 std::string GetLine(int x); +00439 int FileSize(); +00440 }; 00441 -00448 class ModuleFactory : public classbase -00449 { -00450 public: -00451 ModuleFactory() { } -00452 virtual ~ModuleFactory() { } -00457 virtual Module * CreateModule() = 0; -00458 }; -00459 +00442 +00449 class ModuleFactory : public classbase +00450 { +00451 public: +00452 ModuleFactory() { } +00453 virtual ~ModuleFactory() { } +00458 virtual Module * CreateModule() = 0; +00459 }; 00460 -00461 typedef DLLFactory<ModuleFactory> ircd_module; -00462 -00463 #endif -
Generated on Sat Apr 3 16:36:03 2004 for InspIRCd by +00461 +00462 typedef DLLFactory<ModuleFactory> ircd_module; +00463 +00464 #endif +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html index a194ef74d..2d88557b9 100644 --- a/docs/module-doc/modules_8h.html +++ b/docs/module-doc/modules_8h.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersmodules.h File Reference
#include "dynamic.h"
#include "base.h"
#include "ctables.h"
@@ -162,7 +162,7 @@ Definition at line 36 ofValue:
{ MOD_RESULT = 0; \ for (int i = 0; i <= MODCOUNT; i++) { \ - int res = modules[i]->x ; \ + int res = modules[i]->x ; \ if (res) { \ MOD_RESULT = res; \ break; \ @@ -219,7 +219,9 @@ Definition at line 17 of
-Definition at line 18 of file modules.h. +Definition at line 18 of file modules.h. +
+Referenced by Server::AddExtendedMode().
@@ -243,7 +245,9 @@ Definition at line 18 of
-Definition at line 19 of file modules.h. +Definition at line 19 of file modules.h. +
+Referenced by Server::AddExtendedMode().
@@ -344,7 +348,7 @@ Low level definition of a FileReader
Definition at line 29 of file modules.h.
-Referenced by FileReader::FileReader(), and FileReader::LoadFile(). +Referenced by FileReader::FileReader(), and FileReader::LoadFile().
@@ -368,7 +372,7 @@ Referenced by FileReader::F
-Definition at line 461 of file modules.h. +Definition at line 462 of file modules.h.
@@ -445,7 +449,7 @@ Definition at line 30 of
-Referenced by Server::AddCommand(). +Referenced by Server::AddCommand().
@@ -491,10 +495,10 @@ Referenced by Server::AddCo
-Referenced by Server::SendMode(). +Referenced by Server::SendMode(). -
Generated on Sat Apr 3 16:36:06 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:19 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html new file mode 100644 index 000000000..b799df61f --- /dev/null +++ b/docs/module-doc/namespaces.html @@ -0,0 +1,17 @@ + + +
Namespace Index + + + ++Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +InspIRCd Namespace List
Here is a list of all namespaces with brief descriptions:+
++ std
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by + +1.3-rc3 + + diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html new file mode 100644 index 000000000..16e737121 --- /dev/null +++ b/docs/module-doc/namespacestd.html @@ -0,0 +1,19 @@ + + +
std Namespace Reference + + + ++Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +std Namespace Reference
++
+
++
Generated on Sun Apr 4 23:02:34 2004 for InspIRCd by + +1.3-rc3 + + diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html index a3b882abf..352e5ea9f 100644 --- a/docs/module-doc/servers_8cpp-source.html +++ b/docs/module-doc/servers_8cpp-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersservers.cpp
Go to the documentation of this file.00001 /* 00002 00003 @@ -46,7 +46,7 @@ 00038 fd = 0; 00039 } 00040 -
Generated on Sat Apr 3 16:36:03 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html index 9a91a9926..d41f781da 100644 --- a/docs/module-doc/servers_8cpp.html +++ b/docs/module-doc/servers_8cpp.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersservers.cpp File Reference
#include "inspircd_config.h"
#include "servers.h"
#include "inspircd.h"
@@ -23,7 +23,7 @@ Include dependency graph for servers.cpp:Go to the source code of this file.
-
Generated on Sat Apr 3 16:36:07 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:19 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html index 2417a11fa..07979a8ec 100644 --- a/docs/module-doc/servers_8h-source.html +++ b/docs/module-doc/servers_8h-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersservers.h
Go to the documentation of this file.00001 /* 00002 00003 @@ -44,7 +44,7 @@ 00060 00061 #endif 00062 -
Generated on Sat Apr 3 16:36:03 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html index b82e96586..04711aa7e 100644 --- a/docs/module-doc/servers_8h.html +++ b/docs/module-doc/servers_8h.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersservers.h File Reference
#include "inspircd_config.h"
#include "connection.h"
#include <string>
@@ -82,7 +82,7 @@ Definition at line 14 of Definition at line 15 of file servers.h. -
Generated on Sat Apr 3 16:36:07 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:20 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/tree.html b/docs/module-doc/tree.html index 64faf1dcf..15ebe779d 100644 --- a/docs/module-doc/tree.html +++ b/docs/module-doc/tree.html @@ -141,6 +141,7 @@ + @@ -172,6 +173,7 @@
+ +-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersusers.cpp
Go to the documentation of this file.00001 /* 00002 00003 */ @@ -77,18 +77,22 @@ 00069 00070 void userrec::RemoveInvite(char* channel) 00071 { -00072 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00073 { -00074 if (i->channel) { -00075 if (!strcasecmp(i->channel,channel)) -00076 { -00077 invites.erase(i); -00078 return; -00079 } -00080 } -00081 } -00082 } -
Generated on Sat Apr 3 16:36:03 2004 for InspIRCd by +00072 log(DEBUG,"Removing invites"); +00073 if (invites.size()) +00074 { +00075 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00076 { +00077 if (i->channel) { +00078 if (!strcasecmp(i->channel,channel)) +00079 { +00080 invites.erase(i); +00081 return; +00082 } +00083 } +00084 } +00085 } +00086 } +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html index 8368c0d9a..dd871ec7c 100644 --- a/docs/module-doc/users_8cpp.html +++ b/docs/module-doc/users_8cpp.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersusers.cpp File Reference
#include "inspircd_config.h"
#include "channels.h"
#include "users.h"
@@ -15,17 +15,17 @@Include dependency graph for users.cpp:
-
Generated on Sat Apr 3 16:36:08 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:20 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/users_8cpp__incl.gif b/docs/module-doc/users_8cpp__incl.gif index 531db1ebb..8b2adf33d 100644 Binary files a/docs/module-doc/users_8cpp__incl.gif and b/docs/module-doc/users_8cpp__incl.gif differ diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html index 9edbfa2da..e3b4b4ddf 100644 --- a/docs/module-doc/users_8h-source.html +++ b/docs/module-doc/users_8h-source.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersusers.h
Go to the documentation of this file.00001 /* 00002 00003 @@ -64,7 +64,7 @@ 00081 00084 char fullname[128]; 00085 -00090 char modes[32]; +00090 char modes[MAXBUF]; 00091 00092 ucrec chans[MAXCHANS]; 00093 @@ -92,7 +92,7 @@ 00140 00141 00142 #endif -
Generated on Sat Apr 3 16:36:03 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:14 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html index 6e0f0e5e8..b00362508 100644 --- a/docs/module-doc/users_8h.html +++ b/docs/module-doc/users_8h.html @@ -5,7 +5,7 @@
-Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members +Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Membersusers.h File Reference
#include "inspircd_config.h"
#include "channels.h"
#include "connection.h"
@@ -245,7 +245,7 @@ Holds a complete list of all channels to which a user has been invited and has n Definition at line 44 of file users.h. -
Generated on Sat Apr 3 16:36:08 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:21 2004 for InspIRCd by1.3-rc3 diff --git a/docs/module-doc/users_8h__incl.gif b/docs/module-doc/users_8h__incl.gif index 132ac7120..2a8e2eacc 100644 Binary files a/docs/module-doc/users_8h__incl.gif and b/docs/module-doc/users_8h__incl.gif differ -- cgit v1.3.1-10-gc9f91