commands.h

Go to the documentation of this file.
00001 /* Declarations for command data.
00002  *
00003  * (C) 2003-2007 Anope Team
00004  * Contact us at info@anope.org
00005  *
00006  * Please read COPYING and README for furhter details.
00007  *
00008  * Based on the original code of Epona by Lara.
00009  * Based on the original code of Services by Andy Church. 
00010  * 
00011  * $Id: commands.h 1265 2007-08-26 15:33:06Z geniusdex $ 
00012  *
00013  */
00014 
00015  #include "modules.h"
00016 
00017 /*************************************************************************/
00018 
00019 /* Routines for looking up commands.  Command lists are arrays that must be
00020  * terminated with a NULL name.
00021  */
00022 
00023 extern Command *lookup_cmd(Command *list, char *name);
00024 extern void run_cmd(char *service, User *u, Command *list,
00025         char *name);
00026 extern void help_cmd(char *service, User *u, Command *list,
00027         char *name);
00028 extern void do_run_cmd(char *service, User * u, Command *c,const char *cmd);
00029 extern void do_help_cmd(char *service, User * u, Command *c,const char *cmd);
00030 extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
00031 extern MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
00032 
00033 /*************************************************************************/

Generated on Sun Dec 30 09:26:45 2007 for Anope by  doxygen 1.5.1-20070107