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/ctables_8h-source.html | 42 ++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'docs/module-doc/ctables_8h-source.html') diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html index d5c1630ad..e2d1ecb8b 100644 --- a/docs/module-doc/ctables_8h-source.html +++ b/docs/module-doc/ctables_8h-source.html @@ -27,24 +27,38 @@ 00018 #define __CTABLES_H__ 00019 00020 #include "inspircd_config.h" -00021 #include "inspircd.h" -00022 #include "base.h" -00023 -00026 class command_t : public Extensible -00027 { -00028 public: -00031 char command[MAXBUF]; -00034 handlerfunc *handler_function; +00021 #include <deque> +00022 +00023 class userrec; +00024 +00025 /*typedef void (handlerfunc) (char**, int, userrec*);*/ +00026 +00029 class command_t +00030 { +00031 public: +00034 std::string command; 00037 char flags_needed; 00040 int min_params; 00043 long use_count; 00046 long total_bytes; -00049 char source[MAXBUF]; -00050 }; -00051 -00052 #endif -00053 -
Generated on Thu Dec 15 11:14:14 2005 for InspIRCd by  +00049 std::string source; +00050 +00051 command_t(std::string cmd, char flags, int minpara) : command(cmd), flags_needed(flags), min_params(minpara) +00052 { +00053 use_count = total_bytes = 0; +00054 source = "<core>"; +00055 } +00056 +00057 virtual void Handle(char** parameters, int pcnt, userrec* user) = 0; +00058 +00059 virtual ~command_t() {} +00060 }; +00061 +00062 typedef std::deque<command_t*> command_table; +00063 +00064 #endif +00065 +
Generated on Mon Dec 19 18:02:13 2005 for InspIRCd by  doxygen 1.4.4-20050815
-- cgit v1.2.3