Anope IRC Services  Version 1.8
commands.h
Go to the documentation of this file.
1 /* Declarations for command data.
2  *
3  * (C) 2003-2014 Anope Team
4  * Contact us at team@anope.org
5  *
6  * Please read COPYING and README for further details.
7  *
8  * Based on the original code of Epona by Lara.
9  * Based on the original code of Services by Andy Church.
10  *
11  *
12  */
13 
14  #include "modules.h"
15 
16 /*************************************************************************/
17 
18 /* Routines for looking up commands. Command lists are arrays that must be
19  * terminated with a NULL name.
20  */
21 
22 extern MDE Command *lookup_cmd(Command *list, char *name);
23 extern void run_cmd(char *service, User *u, Command *list,
24  char *name);
25 extern void help_cmd(char *service, User *u, Command *list,
26  char *name);
27 extern void do_run_cmd(char *service, User * u, Command *c,const char *cmd);
28 extern MDE void do_help_limited(char *service, User * u, Command * c);
29 extern void do_help_cmd(char *service, User * u, Command *c,const char *cmd);
30 extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
31 extern MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
32 
33 /*************************************************************************/
MDE Command * lookup_cmd(Command *list, char *name)
Definition: commands.c:27
void run_cmd(char *service, User *u, Command *list, char *name)
Definition: commands.c:50
MDE void do_help_limited(char *service, User *u, Command *c)
Definition: commands.c:137
MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[], const char *cmd)
Definition: commands.c:266
void do_help_cmd(char *service, User *u, Command *c, const char *cmd)
Definition: commands.c:163
void do_run_cmd(char *service, User *u, Command *c, const char *cmd)
Definition: commands.c:85
#define MDE
Definition: modules.h:89
void help_cmd(char *service, User *u, Command *list, char *name)
Definition: commands.c:250
Command * c
Definition: ns_recover.c:17
MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[], const char *cmd)
Definition: commands.c:67