From 7455e1c881f12eaf3ec9658ac84add6b61b131a3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2003 18:38:07 +0000 Subject: Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@171 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/modules_8h-source.html | 177 +++++++++++++++++---------------- 1 file changed, 93 insertions(+), 84 deletions(-) (limited to 'docs/module-doc/modules_8h-source.html') diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index 9b6bc24bd..2a095fcc1 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -57,91 +57,100 @@ 00065 class Module : public classbase 00066 { 00067 public: -00071 Module(); -00075 virtual ~Module(); -00080 virtual Version GetVersion(); -00084 virtual void OnUserConnect(userrec* user); -00088 virtual void OnUserQuit(userrec* user); -00093 virtual void OnUserJoin(userrec* user, chanrec* channel); -00098 virtual void OnUserPart(userrec* user, chanrec* channel); -00099 +00068 +00072 Module(); +00073 +00077 virtual ~Module(); +00078 +00083 virtual Version GetVersion(); +00084 +00088 virtual void OnUserConnect(userrec* user); +00089 +00093 virtual void OnUserQuit(userrec* user); +00094 +00099 virtual void OnUserJoin(userrec* user, chanrec* channel); 00100 -00101 virtual void Module::OnPacketTransmit(char *p); -00102 virtual void Module::OnPacketReceive(char *p); -00103 virtual void OnRehash(); -00104 virtual void Module::OnServerRaw(string &raw, bool inbound); -00105 -00106 }; -00107 -00108 -00114 class Server : public classbase -00115 { -00116 public: -00120 Server(); -00124 virtual ~Server(); -00125 -00129 virtual void SendOpers(string s); -00134 virtual void Log(int level, string s); -00139 virtual void Send(int Socket, string s); -00144 virtual void SendServ(int Socket, string s); -00149 virtual void SendFrom(int Socket, userrec* User, string s); -00154 virtual void SendTo(userrec* Source, userrec* Dest, string s); -00161 virtual void SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender); -00166 virtual bool CommonChannels(userrec* u1, userrec* u2); -00174 virtual void SendCommon(userrec* User, string text,bool IncludeSender); -00179 virtual void SendWallops(userrec* User, string text); -00180 -00184 virtual bool IsNick(string nick); -00188 virtual userrec* FindNick(string nick); -00192 virtual chanrec* FindChannel(string channel); -00197 virtual string ChanMode(userrec* User, chanrec* Chan); -00200 virtual string GetServerName(); -00203 virtual string GetNetworkName(); -00209 virtual Admin GetAdmin(); -00210 -00211 }; -00212 -00219 class ConfigReader : public classbase -00220 { -00221 protected: -00224 string fname; -00225 public: -00230 ConfigReader(); // default constructor reads ircd.conf -00234 ConfigReader(string filename); // read a module-specific config -00238 ~ConfigReader(); -00243 string ReadValue(string tag, string name, int index); -00250 int Enumerate(string tag); -00254 bool Verify(); -00255 }; -00256 -00257 -00258 -00264 class FileReader : public classbase -00265 { -00266 file_cache fc; -00267 public: -00272 FileReader(); -00278 FileReader(string filename); -00282 ~FileReader(); -00288 void LoadFile(string filename); -00293 string GetLine(int x); -00299 int FileSize(); -00300 }; -00301 -00302 -00309 class ModuleFactory : public classbase -00310 { -00311 public: -00312 ModuleFactory() { } -00313 virtual ~ModuleFactory() { } -00318 virtual Module * CreateModule() = 0; -00319 }; -00320 -00321 -00322 typedef DLLFactory<ModuleFactory> ircd_module; -00323 -00324 #endif -
Generated on Sun Mar 30 13:27:58 2003 for InspIRCd by +00105 virtual void OnUserPart(userrec* user, chanrec* channel); +00106 +00113 virtual void Module::OnPacketTransmit(char *p); +00114 +00122 virtual void Module::OnPacketReceive(char *p); +00123 +00129 virtual void OnRehash(); +00130 +00137 virtual void Module::OnServerRaw(string &raw, bool inbound); +00138 +00139 }; +00140 +00141 +00147 class Server : public classbase +00148 { +00149 public: +00153 Server(); +00157 virtual ~Server(); +00158 +00162 virtual void SendOpers(string s); +00167 virtual void Log(int level, string s); +00172 virtual void Send(int Socket, string s); +00177 virtual void SendServ(int Socket, string s); +00182 virtual void SendFrom(int Socket, userrec* User, string s); +00187 virtual void SendTo(userrec* Source, userrec* Dest, string s); +00194 virtual void SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender); +00199 virtual bool CommonChannels(userrec* u1, userrec* u2); +00207 virtual void SendCommon(userrec* User, string text,bool IncludeSender); +00212 virtual void SendWallops(userrec* User, string text); +00213 +00217 virtual bool IsNick(string nick); +00221 virtual userrec* FindNick(string nick); +00225 virtual chanrec* FindChannel(string channel); +00230 virtual string ChanMode(userrec* User, chanrec* Chan); +00233 virtual string GetServerName(); +00236 virtual string GetNetworkName(); +00242 virtual Admin GetAdmin(); +00243 +00244 }; +00245 +00252 class ConfigReader : public classbase +00253 { +00254 protected: +00257 string fname; +00258 public: +00263 ConfigReader(); // default constructor reads ircd.conf +00267 ConfigReader(string filename); // read a module-specific config +00271 ~ConfigReader(); +00276 string ReadValue(string tag, string name, int index); +00283 int Enumerate(string tag); +00287 bool Verify(); +00288 }; +00289 +00290 +00291 +00297 class FileReader : public classbase +00298 { +00299 file_cache fc; +00300 public: +00305 FileReader(); +00311 FileReader(string filename); +00315 ~FileReader(); +00321 void LoadFile(string filename); +00326 string GetLine(int x); +00332 int FileSize(); +00333 }; +00334 +00335 +00342 class ModuleFactory : public classbase +00343 { +00344 public: +00345 ModuleFactory() { } +00346 virtual ~ModuleFactory() { } +00351 virtual Module * CreateModule() = 0; +00352 }; +00353 +00354 +00355 typedef DLLFactory<ModuleFactory> ircd_module; +00356 +00357 #endif +
Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by doxygen1.3-rc3
-- cgit v1.2.3