forked from github/server
24 lines
849 B
C
24 lines
849 B
C
|
/* vi: set ts=2:
|
||
|
+-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
||
|
| | Enno Rehling <enno@eressea-pbem.de>
|
||
|
| Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
||
|
| (c) 1998 - 2001 | Henning Peters <faroul@beyond.kn-bremen.de>
|
||
|
| | Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||
|
+-------------------+ Stefan Reich <reich@halbling.de>
|
||
|
|
||
|
This program may not be used, modified or distributed
|
||
|
without prior permission by the authors of Eressea.
|
||
|
|
||
|
*/
|
||
|
#ifndef COMMAND_H
|
||
|
#define COMMAND_H
|
||
|
|
||
|
struct command;
|
||
|
struct tnode;
|
||
|
|
||
|
extern void add_command(struct tnode * keys, struct command ** cmds, const char * str,
|
||
|
void(*fun)(const char*, void *, const char*));
|
||
|
extern void do_command(const struct tnode * keys, void * u, const char * cmd);
|
||
|
|
||
|
#endif
|