From 71bedf497cde8b0b38afbb366828b3df9c2803d6 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 Dec 2005 18:04:22 +0000 Subject: git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2578 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/mode_8h-source.html | 50 ++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 20 deletions(-) (limited to 'docs/module-doc/mode_8h-source.html') diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html index d82d7b6b3..ac7034b69 100644 --- a/docs/module-doc/mode_8h-source.html +++ b/docs/module-doc/mode_8h-source.html @@ -36,26 +36,36 @@ 00027 #include <vector> 00028 #include "users.h" 00029 #include "channels.h" -00030 -00031 char* give_ops(userrec *user,char *dest,chanrec *chan,int status); -00032 char* give_hops(userrec *user,char *dest,chanrec *chan,int status); -00033 char* give_voice(userrec *user,char *dest,chanrec *chan,int status); -00034 char* take_ops(userrec *user,char *dest,chanrec *chan,int status); -00035 char* take_hops(userrec *user,char *dest,chanrec *chan,int status); -00036 char* take_voice(userrec *user,char *dest,chanrec *chan,int status); -00037 char* add_ban(userrec *user,char *dest,chanrec *chan,int status); -00038 char* take_ban(userrec *user,char *dest,chanrec *chan,int status); -00039 void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local); -00040 bool allowed_umode(char umode, char* sourcemodes,bool adding); -00041 bool process_module_umode(char umode, userrec* source, void* dest, bool adding); -00042 void handle_mode(char **parameters, int pcnt, userrec *user); -00043 void server_mode(char **parameters, int pcnt, userrec *user); -00044 void merge_mode(char **parameters, int pcnt); -00045 void merge_mode2(char **parameters, int pcnt, userrec* user); -00046 -00047 -00048 #endif -
Generated on Thu Dec 15 11:14:14 2005 for InspIRCd by  +00030 #include "ctables.h" +00031 +00032 class ModeParser +00033 { +00034 private: +00035 char* GiveOps(userrec *user,char *dest,chanrec *chan,int status); +00036 char* GiveHops(userrec *user,char *dest,chanrec *chan,int status); +00037 char* GiveVoice(userrec *user,char *dest,chanrec *chan,int status); +00038 char* TakeOps(userrec *user,char *dest,chanrec *chan,int status); +00039 char* TakeHops(userrec *user,char *dest,chanrec *chan,int status); +00040 char* TakeVoice(userrec *user,char *dest,chanrec *chan,int status); +00041 char* AddBan(userrec *user,char *dest,chanrec *chan,int status); +00042 char* TakeBan(userrec *user,char *dest,chanrec *chan,int status); +00043 public: +00044 std::string CompressModes(std::string modes,bool channelmodes); +00045 void ProcessModes(char **parameters,userrec* user,chanrec *chan,int status, int pcnt, bool servermode, bool silent, bool local); +00046 bool AllowedUmode(char umode, char* sourcemodes,bool adding,bool serveroverride); +00047 bool ProcessModuleUmode(char umode, userrec* source, void* dest, bool adding); +00048 void ServerMode(char **parameters, int pcnt, userrec *user); +00049 }; +00050 +00051 class cmd_mode : public command_t +00052 { +00053 public: +00054 cmd_mode () : command_t("MODE",0,1) { } +00055 void Handle(char **parameters, int pcnt, userrec *user); +00056 }; +00057 +00058 #endif +
Generated on Mon Dec 19 18:02:13 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.2.3