1 |
/* Copyright (C) 2003, 2004 Stephane Thiell |
2 |
* |
3 |
* This file is part of pxyservd (from pxys) |
4 |
* |
5 |
* This program is free software; you can redistribute it and/or |
6 |
* modify it under the terms of the GNU General Public License |
7 |
* as published by the Free Software Foundation; either version 2 |
8 |
* of the License, or (at your option) any later version. |
9 |
* |
10 |
* This program is distributed in the hope that it will be useful, |
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
* GNU General Public License for more details. |
14 |
* |
15 |
* You should have received a copy of the GNU General Public License |
16 |
* along with this program; if not, write to the Free Software |
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 |
* |
19 |
* $Id: irc_cmd.h,v 1.4 2004/01/12 12:31:03 mbuna Exp $ |
20 |
*/ |
21 |
#ifndef INCLUDED_IRC_CMD_H |
22 |
#define INCLUDED_IRC_CMD_H |
23 |
|
24 |
#include "tokenizer.h" |
25 |
|
26 |
struct Client; |
27 |
|
28 |
typedef void (*cmd_func)(struct Client *cptr, toktabptr ttab); |
29 |
|
30 |
#define DEF_CMD(n) \ |
31 |
extern void cmd_##n(struct Client *cptr, toktabptr ttab) |
32 |
|
33 |
DEF_CMD(evreg); |
34 |
DEF_CMD(evshow); |
35 |
DEF_CMD(info); |
36 |
DEF_CMD(inv); |
37 |
DEF_CMD(grem); |
38 |
DEF_CMD(help); |
39 |
DEF_CMD(noscan); |
40 |
DEF_CMD(proxytop); |
41 |
DEF_CMD(pxstats); |
42 |
DEF_CMD(recheck); |
43 |
DEF_CMD(servers); |
44 |
DEF_CMD(showcmds); |
45 |
DEF_CMD(stats); |
46 |
DEF_CMD(status); |
47 |
DEF_CMD(whois); |
48 |
|
49 |
#endif /* INCLUDED_IRC_CMD_H */ |