server/src/common/util/command.h

23 lines
808 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 tnode;
2002-02-23 12:30:41 +01:00
extern void add_command(struct tnode * keys, const char * str,
2001-04-26 19:41:06 +02:00
void(*fun)(const char*, void *, const char*));
2002-02-23 12:30:41 +01:00
extern int do_command(const struct tnode * keys, void * u, const char * cmd);
2001-04-26 19:41:06 +02:00
#endif