From 654ff4ae2f06704de2beb1050021c8196f693cb5 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Apr 2005 13:42:08 +0000 Subject: Updated to support OnSendList git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1073 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/modules_8h-source.html | 299 +++++++++++++++++---------------- 1 file changed, 151 insertions(+), 148 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 c76e38f02..f2e507304 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -181,156 +181,159 @@ 00369 virtual void OnLoadModule(Module* mod,std::string name); 00370 00376 virtual void OnBackgroundTimer(time_t curtime); -00377 }; -00378 -00379 -00385 class Server : public classbase -00386 { -00387 public: -00391 Server(); -00395 virtual ~Server(); -00396 -00400 virtual void SendOpers(std::string s); -00405 virtual void Log(int level, std::string s); -00410 virtual void Send(int Socket, std::string s); -00415 virtual void SendServ(int Socket, std::string s); -00420 virtual void SendFrom(int Socket, userrec* User, std::string s); -00435 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); -00442 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); -00447 virtual bool CommonChannels(userrec* u1, userrec* u2); -00455 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); -00460 virtual void SendWallops(userrec* User, std::string text); -00461 -00465 virtual bool IsNick(std::string nick); -00469 virtual int CountUsers(chanrec* c); -00473 virtual userrec* FindNick(std::string nick); -00477 virtual chanrec* FindChannel(std::string channel); -00482 virtual std::string ChanMode(userrec* User, chanrec* Chan); -00486 virtual bool IsOnChannel(userrec* User, chanrec* Chan); -00489 virtual std::string GetServerName(); -00492 virtual std::string GetNetworkName(); -00498 virtual Admin GetAdmin(); -00517 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); -00518 -00540 virtual bool AddExtendedListMode(char modechar); -00541 -00559 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); -00560 -00582 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00583 -00596 virtual void SendToModeMask(std::string modes, int flags, std::string text); -00597 -00603 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); -00604 -00610 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); -00611 -00617 virtual void ChangeUserNick(userrec* user, std::string nickname); -00618 -00629 virtual void QuitUser(userrec* user, std::string reason); -00630 -00635 virtual bool MatchText(std::string sliteral, std::string spattern); -00636 -00648 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); -00649 -00655 virtual void ChangeHost(userrec* user, std::string host); -00656 -00662 virtual void ChangeGECOS(userrec* user, std::string gecos); -00663 -00672 virtual bool IsUlined(std::string server); +00377 +00385 virtual void OnSendList(userrec* user, chanrec* channel, char mode); +00386 +00387 }; +00388 +00389 +00395 class Server : public classbase +00396 { +00397 public: +00401 Server(); +00405 virtual ~Server(); +00406 +00410 virtual void SendOpers(std::string s); +00415 virtual void Log(int level, std::string s); +00420 virtual void Send(int Socket, std::string s); +00425 virtual void SendServ(int Socket, std::string s); +00430 virtual void SendFrom(int Socket, userrec* User, std::string s); +00445 virtual void SendTo(userrec* Source, userrec* Dest, std::string s); +00452 virtual void SendChannel(userrec* User, chanrec* Channel, std::string s,bool IncludeSender); +00457 virtual bool CommonChannels(userrec* u1, userrec* u2); +00465 virtual void SendCommon(userrec* User, std::string text,bool IncludeSender); +00470 virtual void SendWallops(userrec* User, std::string text); +00471 +00475 virtual bool IsNick(std::string nick); +00479 virtual int CountUsers(chanrec* c); +00483 virtual userrec* FindNick(std::string nick); +00487 virtual chanrec* FindChannel(std::string channel); +00492 virtual std::string ChanMode(userrec* User, chanrec* Chan); +00496 virtual bool IsOnChannel(userrec* User, chanrec* Chan); +00499 virtual std::string GetServerName(); +00502 virtual std::string GetNetworkName(); +00508 virtual Admin GetAdmin(); +00527 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00528 +00550 virtual bool AddExtendedListMode(char modechar); +00551 +00569 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); +00570 +00592 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00593 +00606 virtual void SendToModeMask(std::string modes, int flags, std::string text); +00607 +00613 virtual chanrec* JoinUserToChannel(userrec* user, std::string cname, std::string key); +00614 +00620 virtual chanrec* PartUserFromChannel(userrec* user, std::string cname, std::string reason); +00621 +00627 virtual void ChangeUserNick(userrec* user, std::string nickname); +00628 +00639 virtual void QuitUser(userrec* user, std::string reason); +00640 +00645 virtual bool MatchText(std::string sliteral, std::string spattern); +00646 +00658 virtual void CallCommandHandler(std::string commandname, char** parameters, int pcnt, userrec* user); +00659 +00665 virtual void ChangeHost(userrec* user, std::string host); +00666 +00672 virtual void ChangeGECOS(userrec* user, std::string gecos); 00673 -00677 virtual chanuserlist GetUsers(chanrec* chan); -00678 -00685 virtual bool UserToPseudo(userrec* user,std::string message); -00686 -00693 virtual bool PseudoToUser(userrec* alive,userrec* zombie,std::string message); -00694 -00702 virtual void AddGLine(long duration, std::string source, std::string reason, std::string hostmask); -00703 -00711 virtual void AddQLine(long duration, std::string source, std::string reason, std::string nickname); -00712 -00720 virtual void AddZLine(long duration, std::string source, std::string reason, std::string ipaddr); -00721 -00729 virtual void AddKLine(long duration, std::string source, std::string reason, std::string hostmask); -00730 -00738 virtual void AddELine(long duration, std::string source, std::string reason, std::string hostmask); -00739 -00742 virtual bool DelGLine(std::string hostmask); -00743 -00746 virtual bool DelQLine(std::string nickname); -00747 -00750 virtual bool DelZLine(std::string ipaddr); -00751 -00754 virtual bool DelKLine(std::string hostmask); -00755 -00758 virtual bool DelELine(std::string hostmask); -00759 -00765 virtual long CalcDuration(std::string duration); -00766 -00767 }; -00768 -00769 #define CONF_NOT_A_NUMBER 0x000010 -00770 #define CONF_NOT_UNSIGNED 0x000080 -00771 #define CONF_VALUE_NOT_FOUND 0x000100 -00772 #define CONF_FILE_NOT_FOUND 0x000200 -00773 -00780 class ConfigReader : public classbase -00781 { -00782 protected: -00788 std::stringstream *cache; -00789 std::stringstream *errorlog; -00792 bool readerror; -00793 long error; -00794 -00795 public: -00800 ConfigReader(); // default constructor reads ircd.conf -00804 ConfigReader(std::string filename); // read a module-specific config -00808 ~ConfigReader(); -00813 std::string ReadValue(std::string tag, std::string name, int index); -00819 bool ReadFlag(std::string tag, std::string name, int index); -00828 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); -00833 long GetError(); -00840 int Enumerate(std::string tag); -00845 bool Verify(); -00852 void DumpErrors(bool bail,userrec* user); -00853 -00859 int EnumerateValues(std::string tag, int index); -00860 }; -00861 -00862 +00682 virtual bool IsUlined(std::string server); +00683 +00687 virtual chanuserlist GetUsers(chanrec* chan); +00688 +00695 virtual bool UserToPseudo(userrec* user,std::string message); +00696 +00703 virtual bool PseudoToUser(userrec* alive,userrec* zombie,std::string message); +00704 +00712 virtual void AddGLine(long duration, std::string source, std::string reason, std::string hostmask); +00713 +00721 virtual void AddQLine(long duration, std::string source, std::string reason, std::string nickname); +00722 +00730 virtual void AddZLine(long duration, std::string source, std::string reason, std::string ipaddr); +00731 +00739 virtual void AddKLine(long duration, std::string source, std::string reason, std::string hostmask); +00740 +00748 virtual void AddELine(long duration, std::string source, std::string reason, std::string hostmask); +00749 +00752 virtual bool DelGLine(std::string hostmask); +00753 +00756 virtual bool DelQLine(std::string nickname); +00757 +00760 virtual bool DelZLine(std::string ipaddr); +00761 +00764 virtual bool DelKLine(std::string hostmask); +00765 +00768 virtual bool DelELine(std::string hostmask); +00769 +00775 virtual long CalcDuration(std::string duration); +00776 +00777 }; +00778 +00779 #define CONF_NOT_A_NUMBER 0x000010 +00780 #define CONF_NOT_UNSIGNED 0x000080 +00781 #define CONF_VALUE_NOT_FOUND 0x000100 +00782 #define CONF_FILE_NOT_FOUND 0x000200 +00783 +00790 class ConfigReader : public classbase +00791 { +00792 protected: +00798 std::stringstream *cache; +00799 std::stringstream *errorlog; +00802 bool readerror; +00803 long error; +00804 +00805 public: +00810 ConfigReader(); // default constructor reads ircd.conf +00814 ConfigReader(std::string filename); // read a module-specific config +00818 ~ConfigReader(); +00823 std::string ReadValue(std::string tag, std::string name, int index); +00829 bool ReadFlag(std::string tag, std::string name, int index); +00838 long ReadInteger(std::string tag, std::string name, int index, bool needs_unsigned); +00843 long GetError(); +00850 int Enumerate(std::string tag); +00855 bool Verify(); +00862 void DumpErrors(bool bail,userrec* user); 00863 -00869 class FileReader : public classbase -00870 { -00871 file_cache fc; -00872 public: -00877 FileReader(); -00878 -00884 FileReader(std::string filename); -00885 -00889 ~FileReader(); -00890 -00896 void LoadFile(std::string filename); -00897 -00901 bool Exists(); -00902 -00907 std::string GetLine(int x); -00908 -00914 int FileSize(); -00915 }; -00916 -00917 -00924 class ModuleFactory : public classbase -00925 { -00926 public: -00927 ModuleFactory() { } -00928 virtual ~ModuleFactory() { } -00933 virtual Module * CreateModule() = 0; -00934 }; -00935 -00936 -00937 typedef DLLFactory<ModuleFactory> ircd_module; -00938 -00939 #endif -
Generated on Wed Apr 13 12:32:17 2005 for InspIRCd by +00869 int EnumerateValues(std::string tag, int index); +00870 }; +00871 +00872 +00873 +00879 class FileReader : public classbase +00880 { +00881 file_cache fc; +00882 public: +00887 FileReader(); +00888 +00894 FileReader(std::string filename); +00895 +00899 ~FileReader(); +00900 +00906 void LoadFile(std::string filename); +00907 +00911 bool Exists(); +00912 +00917 std::string GetLine(int x); +00918 +00924 int FileSize(); +00925 }; +00926 +00927 +00934 class ModuleFactory : public classbase +00935 { +00936 public: +00937 ModuleFactory() { } +00938 virtual ~ModuleFactory() { } +00943 virtual Module * CreateModule() = 0; +00944 }; +00945 +00946 +00947 typedef DLLFactory<ModuleFactory> ircd_module; +00948 +00949 #endif +
Generated on Wed Apr 13 13:06:54 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3