server/src/common/util/command.h

24 lines
849 B
C
Raw Normal View History

2001-04-26 19:41:06 +02:00
/* 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